Atually, just assigning a calculation to a currency will automatically round down
Set var vDouble double = 1.495 Set var vCurr Curr = .vDouble Vcurr will now contain 1.49 Dennis McGrath -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence Lustig Sent: Wednesday, December 03, 2008 1:06 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: rounding tax amounts down... << I had looked at that but when I did... SET VAR testing currency = (BRND(1.495,8,.01)) testing = 1.50 not 1.49, I must be missing something... >> The function INT truncates as you want, the trick is to multiply, then divide by 100: SET VAR vRounded = (INT(.vOriginal * 100) / 100) or consider using NUMERIC. -- Larry

