Search Docs
compute the fractional part of the argument
genType fract(genType x)
x
fract returns the fractional part of x. This is calculated as x - floor(x).
fract