Name
Frac Function
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 isX
.
See Also
Int Function, Round Function, Trunc Function |
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.