frac
-
function — the fractional portion of a number
-
The
frac
function returns just the fractional portion of a number, ignoring the whole-number portion of the value. -
Examples: +
put frac(12.85) —> 0.85
-
Related: trunc
function — the fractional portion of a number
The frac
function returns just the fractional portion of a number, ignoring the whole-number portion of the value.
Examples: +
put frac(12.85) —> 0.85
Related: trunc