| GLMathfFrac Method |
Returns the fractional part of a floating point number.
Namespace:
Gamelogic.Extensions
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static float Frac(
float x
)
Parameters
- x
- Type: SystemSingle
The number to get the fractional part of.
Return Value
Type:
SingleThe fractional part of the given number.
Remarks The result is always the number minus the number's floor.
See Also