Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > B

BRND

Scroll Prev Top Next More

(BRND(arg1,arg2,arg3))

 

Rounds REAL, DOUBLE, or CURRENCY data to a specific number of decimal places and allows specification of the number of significant digits to return. Arg1 is the value to be rounded. Arg2 is the number of significant digits to return, and arg3 is the precision The precision is specified as a decimal number, for example, .01 rounds to two decimal places.

 

In the following example, the value of vresult is 1234.57.

 

SET VAR vresult = (BRND(1234.5678342,8,.01))