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 is X.

See Also

Int Function, Round Function, Trunc Function
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset