GSAK (Geocaching Swiss Army Knife)
Contents - Index

Round (function)

Round(nNumber, nDecimals) : number

Number rounding

nNumber - The number to round
nDecimals - The number of decimals to round off at

Example:
 

$num = Round(6.736214567,2)
MsgOk msg=$num




Related: Int() Frac()

Alpha List         Category List


Copyright 2004-2019 CWE Computer Services  
Privacy Policy Contact