Click or drag to resize

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
C#
public static float Frac(
	float x
)

Parameters

x
Type: SystemSingle
The number to get the fractional part of.

Return Value

Type: Single
The fractional part of the given number.
Remarks
The result is always the number minus the number's floor.
See Also