Skip to main content

floatabs

คำอธิบาย​

This function returns the absolute value of float.

NameDescription
Float:valueThe float value to get the absolute value of.

ส่งคืน​

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

ตัวอย่าง​

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

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