next up previous contents index
Next: ROW Up: A Function Reference Previous: RMS

ROUND

 

Syntax: @ROUND(X, N)

X = a numeric value
N = the number of decimal places or whole numbers, between -15 and 15

@ROUND returns X rounded to the number of decimal places specified by N (when N is positive); it returns X rounded to a whole number when N is negative.

Examples:

@ROUND(@PI, 2) = 3.14

@ROUND(@COS(60), 2) = -0.95

@ROUND(1234.5678, -2) = 1200


next up previous contents index
Next: ROW Up: A Function Reference Previous: RMS

NExS User's Guide, Version 1.4.5
Grey Trout Software
11 April 1999