Floatabs
From SA-MP Wiki
floatabs
Note: This function name starts with a lowercase letter. |
Description:
This function returns the absolute value of float.
(Float:value)
Float:value | The float value to get the absolute value of. |
Return Values:
The absolute value of the float (as a float value).
Example Usage:
floatabs(47.0); // This will return 47.0. floatabs(-47.0); // This will return the same.