Home : Products : Hach WIMS : Hach WIMS Client : Documentation : Function Reference : Spread Functions : Primitive Functions : ROUND
Q11586 - INFO: ROUND

ROUND (Primitive Spread Function) rounds the specified value to the nearest number, using the specified number of decimal places.

SYNTAX:

ROUND(value1,value2)

REMARKS:

Use the value1 argument to specify the number to round. Use the value2 argument to specify the number of decimal places.

Note the following about the value2 argument:

Set value2 to a value greater than zero to round to the specified number of decimal places.
Set value2 to zero to round to the nearest whole number.
Set value2 to a value less than zero to round the value left of the decimal to the nearest ten, hundred, etc. 

EXAMPLES:

ROUND(A3,–2)
ROUND(C4,B2)
ROUND(PI(),5)=3.14159
ROUND(29.2,-2)=0
ROUND(-1.963,0)=-2

Related Articles
Q11515 - INFO: CEILING
Q11528 - INFO: EVEN
Q11535 - INFO: FLOOR
Q11538 - INFO: INT
Q11569 - INFO: ODD
Q11587 - INFO: ROUNDDOWN
Q11588 - INFO: ROUNDUP
Q11611 - INFO: TRUNC

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 8/28/2008 10:30 AM.
Last Modified on 8/28/2008 10:30 AM.
Last Modified by No Author Name Available!.
Article has been viewed 5167 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article