[Israel.pm] floating point curiosity

Offer Kaye offer.kaye at gmail.com
Thu Jan 5 04:13:00 PST 2006


On 1/5/06, Peter Gordon wrote:
> $float*1000 ALWAYS gives the right answer: That's because it uses
> something equivalent to sprintf("%.f",$float*1000).
>

Is there anything in the Perl docs to support this claim?
Just curious...

Cheers,
--
Offer Kaye




More information about the Perl mailing list