[Israel.pm] perl arithmetic

Pinkhas Nisanov nisanov at netvision.net.il
Sun Apr 18 07:21:59 PDT 2004


On Sun, 2004-04-18 at 16:51, Yuval Kogman wrote:

> or implement it all in integers, working with the smallest
> unit possible (like 1000 agoroths =3D=3D 10 nis, and 1010 =3D=3D 10.10).
> 

It will not help, because:
==> perl -e 'print int 100*4.56, "\n";'
455

thanks anyway
Pinkhas Nisanov





More information about the Perl mailing list