Home : ROUNDDOWN
Q14594 - INFO: ROUNDDOWN
 ROUNDDOWN rounds the value of a specified variable or expression down, toward zero..

SYNTAX:

ROUNDDOWN(Cx or Exp, DecimalPlaces)
where :
Cx is a conditional variable x
Exp is a Expression
Decimal Places specifies the number of places after the decimal to round the number to

NOTES:

See also ROUNDCEIL, SROUND, and SDIGITS.

EXAMPLES:

Example 1:

V131 = ROUNDDOWN(C70, 1)

Variable 131 will contain the data in variable 70 rounded to the nearest integer:

V70 V131
.333 0.3

.28

0.2
1.234 1.2
-1.19 -1.1

Related Articles
No Related Articles Available.

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/31/2020 10:21 AM.
Last Modified on 8/31/2020 10:21 AM.
Last Modified by Scott Dorner.
Article has been viewed 1635 times.
Rated 3 out of 10 based on 2 votes.
Print Article
Email Article