[Israel.pm] perl arithmetic

Issac Goldstand margol at beamartyr.net
Sun Apr 18 07:35:43 PDT 2004


* 456

----- Original Message ----- 
From: "Pinkhas Nisanov" <nisanov at netvision.net.il>
To: "Perl in Israel" <perl at perl.org.il>
Sent: Sunday, April 18, 2004 5:21 PM
Subject: Re: [Israel.pm] perl arithmetic


> 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
>
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://www.perl.org.il/mailman/listinfo/perl
>




More information about the Perl mailing list