Syntax
function Frac(X: Floating-point type
): Extended;
Description
Frac
returns the fractional part of a
floating-point number. It is not a real
function.
Tips and Tricks
If X
is infinity or a signaling NaN,
Frac
raises runtime error 6
(EInvalidOp
).
If X
is a quiet NaN, the result is
X
.
See Also
Int Function, Round Function, Trunc Function |