fract

Gets the fractional part of the value.

@safe @nogc nothrow pure
T
fract
(
T
)
()
if (
__traits(isFloating, T)
)

Parameters

value T

The value to get the fractional portion of

Return Value

Type: T

The factional part of the given value.

Meta