[fpc-pascal] compare currency and double

Xiangrong Fang xrfang at gmail.com
Mon Dec 8 23:32:34 CET 2014


Thank you!  I have changed all occurrences of Currency to Double in my
program.

2014-12-08 21:25 GMT+08:00 Jonas Maebe <jonas.maebe at elis.ugent.be>:

>
> On 07 Dec 2014, at 16:07, Jonas Maebe wrote:
>
>  That's because currency has a bigger range than double.
>>
>
> Or rather: a double cannot exactly represent every possible currency value.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20141209/515ab1ba/attachment.html>


More information about the fpc-pascal mailing list