Investment Studio > Expressions > Functions > Math & Trig > FRAC

float frac(float argument)

Returns the fractional part of the argument.

Examples

=frac(3.5)

equals 0.5

=frac(-6.5)

equals -0.5.

See also ceiling, even, floor, int, mround, odd, round, rounddown, roundup, trunc.