---
title: Number.Sign – หาเครื่องหมายตัวเลข
url: https://www.thepexcel.com/functions/power-query/number-functions/number-sign/
type: function-explainer
program: Power Query
syntax: Number.Sign(number as nullable number) as nullable number
date: 2025-12-03
updated: 2025-12-17
scores:
  popularity: 5
  difficulty: 3
  usefulness: 5
---

# Number.Sign – หาเครื่องหมายตัวเลข

> หาเครื่องหมายตัวเลข

## คำอธิบาย

คืนค่าเครื่องหมายของตัวเลข (-1, 0, 1)

## Syntax

```excel
Number.Sign(number as nullable number) as nullable number
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| number | Yes | number |  | ตัวเลข |

## ตัวอย่าง

### 1. Sign

```excel
Number.Sign(-10)
```

**ผลลัพธ์:** `-1`

คืนค่า -1 ถ้าเป็นลบ

## ฟังก์ชันที่เกี่ยวข้อง

- [Number.Abs – ค่าสัมบูรณ์](https://www.thepexcel.com/functions/power-query/number-functions/number-abs/)

## แหล่งข้อมูลเพิ่มเติม

- [PowerQuery.how](https://powerquery.how/number-sign/) _(guide)_

---

_Source: [https://www.thepexcel.com/functions/power-query/number-functions/number-sign/](https://www.thepexcel.com/functions/power-query/number-functions/number-sign/)_
