Bernie:
I ran the calculation in 6.5++ WIN (1.862), 6.5++ DOS (1.850) and 7.0 WIN
(latest Beta, 50b) using REAL and DOUBLE (default) for the variable
definitions and in all cases I get the result as 0.555.
Javier

Javier Valencia, PE
President
Valencia Technology Group, L.L.C.
14315 S. Twilight Ln, Suite #14
Olathe, Kansas 66962-4578
Office (913)829-0888
Fax (913)649-2904
Cell (913)915-3137

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bernard Lis
Sent: Tuesday, June 17, 2003 11:09 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - tax calc v6.5++ vs v7.0

set var amt curr = 9.25
set var txrate = .06
set var tax curr = (.amt * .txrate)

in v 6.5++ dos result is .55
in v 7.0 win result is .56

.56 is correct
using brnd in 6.5 doesn't correct it.

any suggestions?   I tried adding .001 b4 changing to curr and it comes out
right but if the amount is 9.24, it comes out to .56 which is wrong.

Bernie Lis

Reply via email to