frac Function

Retrieves the decimal part of a real number.


real frac(real decimal)

Parameter

Description

decimal

The real number for which to retrieve the decimal part.

The decimal part of the specified number.

frac(12.345) //Returns 0.345.

Community Additions

ADD
Show: