warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
floatabs
warning
This function starts with a lowercase letter.
Description
This function returns the absolute value of float.
Name | Description |
---|---|
Float:value | The float value to get the absolute value of. |
Returns
The absolute value of the float (as a float value).
Examples
new Float:value;
value = floatabs(47.0); // This will return 47.0
value = floatabs(-47.0); // This will return the same.