fract

inline fun fract(v: Float): Float

Returns the fractional part of v.

Return

v % 1

Parameters

v

the input value