GSAK (Geocaching Swiss Army Knife)
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).


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

Related: Int() Round()

Alpha List         Category List

Copyright 2004-2016 CWE Computer Services  
Privacy Policy Contact