FPT(num{,ERR=lineref})
The FPT() function returns the fractional part of the numeric expression, rounded to the current PRECISION. The result has the same sign as the argument.
|
Parameter |
Description |
|
num |
Numeric expression to be rounded. |
|
ERR=lineref |
Branch to be taken if an error occurs during execution. |
>PRECISION 3
>PRINT FPT(55.555)
.555
>PRECISION 2
>PRINT FPT(55.555)
.56
>PRINT FPT(55.554)
.55