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.
floatfract
warning
This function starts with a lowercase letter.
Description
Get the fractional part of a float. This means the value of the numbers after the decimal point.
Name | Description |
---|---|
Float:value | The float to get the fractional part of. |
Returns
The fractional part of the float, as a float value.
Examples
new Float:fFract = floatfract(3.14159); // returns 0.14159
Related Functions
- floatround: Convert a float to an integer (rounding).