[Chicago-talk] Re: Weird math
Jay Strauss
me at heyjay.com
Sat Oct 25 12:41:00 CDT 2003
Please ignore, I sent this by accident (before I googled)
----- Original Message -----
From: "Jay Strauss" <me at heyjay.com>
To: "chicago-pm" <chicago-talk at mail.pm.org>
Sent: Saturday, October 25, 2003 12:13 PM
Subject: Weird math
> >cat ./t
>
> #!/usr/bin/perl
>
> $v = 115/100 - 1;
> print $v,"\n";
> print $v - .05,"\n";
>
> >./t
> 0.15
> 0.0999999999999999
>
> What's up with that?
>
>
More information about the Chicago-talk
mailing list