>Currency values have a relatively large range; 15 digits for the integer part, and 4 decimals.
>
>VFPs built-in data types don't support a higher precision. Double becomes inaccurate for large numbers. Something like 15 to 16 digits precision, but the last digits are always doubtful.
>
>My download #
10044 allows for calculations with an almost unlimited number of digits (the limit is the VFP array limit), but it is relatively slow, compared with the VFP built-in data types and calculations.
( 040909750000200257 + 6 ) * 2430
Hi Hilmar;
Thanks for your repli..
Number1 = transform(040909750000200257+6,"@L 999999999999999999")
Number2 = "2430"
? Number1, "*", Number2, "=", oMath.Multiply(Number1, Number2)
Your routine give me as result:
99410692500486631800Different from windows calculator:
99410692500486639090Is there something that I can do to deal with this?
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20