[fpc-pascal] compare currency and double

Joost van der Sluis joost at cnoc.nl
Wed Dec 10 15:16:11 CET 2014


Ehm....

The question is if that's the right approach.

And if you didn't top-post your message it was now immediately clear 
what I mean with this. Now you've created a little puzzle for yourself...

Regards,

Joost.

On 12/08/2014 11:32 PM, Xiangrong Fang wrote:
> 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
> <mailto: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.
>
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>




More information about the fpc-pascal mailing list