---
title: Number.Abs – ค่าสัมบูรณ์
url: https://www.thepexcel.com/functions/power-query/number-functions/number-abs/
type: function-explainer
program: Power Query
syntax: Number.Abs(number as nullable number) as nullable number
date: 2025-12-03
updated: 2025-12-17
scores:
  popularity: 6
  difficulty: 2
  usefulness: 6
---

# Number.Abs – ค่าสัมบูรณ์

> ค่าสัมบูรณ์

## คำอธิบาย

หาค่าสัมบูรณ์ (Absolute Value)

## Syntax

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

## Arguments

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

## ตัวอย่าง

### 1. Absolute

```excel
Number.Abs(-5)
```

**ผลลัพธ์:** `5`

เปลี่ยนลบเป็นบวก

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

- [Number.Sign – หาเครื่องหมายตัวเลข](https://www.thepexcel.com/functions/power-query/number-functions/number-sign/)
- [Number.Round – ปัดเศษทศนิยม](https://www.thepexcel.com/functions/power-query/number-functions/number-round/)

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

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

---

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