frac Function

Retrieves the decimal part of a real number.


real frac(real decimal)

Parameter

Description

decimal

The real number whose decimal part is being returned.

The decimal part of the number.

// Returns 0.423.
frac(12.423);

Community Additions

ADD
Show: