Rick,


There are two rounding functions available in 6.5++/7.0/7.1:

(BRND(arg1,arg2,arg3)) also know as Banker's Rounding

(ROUND(arg1,arg2))

For complete details and examples: http://www.RSyntax.com

Very Best R:egards,

Razzak.

At 02:18 PM 2/7/2004 -0600, Rick Brown wrote:

Is the ROUND function available in R:Base v6.1 (MS-DOS)?

If not, then does anyone have a UDF that will round numbers the way that the ROUND function does in R:Base v6.5++ (MS-DOS)?

EXAMPLE:

  SET VAR vNUMBER REAL = 1.4567
  SET VAR vROUND = (ROUND(.vNUMBER, 2))

vROUND WILL EQUAL 1.46

Thank you in advance for your help.



Reply via email to