Contents - Index


Frac (function)

Frac(nNumber ) : number    

The Frac function returns the fractional part of the argument nNumber. The result is the fractional part of nNumber; that is, Frac(nNumber) = nNumber - Int(nNumber).

Example:
 

$data = frac(27.5673)
msgok msg=$data

 
Related: Int() Round()

Alpha List         Category List