---
title: "floatabs | open.mp"
description: "This function returns the absolute value of float."
canonical: https://omp.itsneufox.com/th/docs/scripting/functions/floatabs
language: th
---

# floatabs

## คำอธิบาย

This function returns the absolute value of float.

| Name | Description |
| --- | --- |
| Float:value | The float value to get the absolute value of. |

## ส่งคืน

The absolute value of the float (as a float value).

## ตัวอย่าง

```c
floatabs(47.0); // This will return 47.0.
floatabs(-47.0); // This will return the same.
```

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