This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Return the fractional part of a number.
Syntax
n = FRAC(numeric_expression)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
numeric_expression |
Number |
No |
Any numeric expression |
Remarks
FRAC returns the number after the decimal point of a floating-point number or expression.
FRAC rounds the result of fit the precision of the target h, as per IEEE specifications.
Restrictions
See also
Numeric functions, FIX, CEIL, INT, ROUND,
Examples