| MathHelperFrac Method (Single) |
Calculates the fractional part of a specified single-precision floating-point number.
Namespace: DigitalRune.MathematicsAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static float Frac(
float f
)
Public Shared Function Frac (
f As Single
) As Single
public:
static float Frac(
float f
)
static member Frac :
f : float32 -> float32
Parameters
- f
- Type: SystemSingle
The number.
Return Value
Type:
SingleThe fractional part of
f.
See Also