[Gambas-user] Financial program

Ron_1st ronstk at ...239...
Tue Dec 15 00:38:35 CET 2009


On Tuesday 15 December 2009, Benoît Minisini wrote:
> Again we are talking about currencies. What's the matter with telephony 
> seconds? If you want to say that you have to store 1/1000th of cents, ro more, 
> just choose a more precise format. With a Long datatype and using 1/1000000th 
> of currency unit (!), you can store up to 4,6 x 10^12 units. That should be 
> enough.
> 

Thanks for the calculation. I hope never have to pay that amount :) :) 

Best regards,

Ron_1st

-- 

111.111111 x 111.111111 = 12345.678987654321





More information about the User mailing list