Syntax
frac(x
)
Description
frac(x)
represents the “fractional part” x-floor(x)
of the number x
.
For complex arguments, frac
is applied separately to the real and imaginary part.

For real numbers, the value x-floor(x)
represented by frac(x)
is a number from the interval . For positive arguments, you may think of frac
as truncating all digits before the decimal point.
For integer arguments, 0
is returned. For rational arguments, a rational number is returned. For arguments that contain symbolic identifiers, symbolic function calls are returned. For floating-point arguments or non-rational exact expressions, floating-point values are returned.
Cited as: