[fpc-pascal] Currency and ABS(-674.59)

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Mar 9 10:36:23 CET 2012


On 09 Mar 2012, at 10:23, Sven Barth wrote:

> The buzzword for this is Fixed Point Arithmetic. See here: http://en.wikipedia.org/wiki/Fixed-point_arithmetic

And in principle, it's exactly what currency should use. And in fact,  
it is what it does use in FPC on platforms that don't support an x87  
fpu.


Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120309/f6586c8c/attachment.html>


More information about the fpc-pascal mailing list