In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Andrew Gaffney) writes:
>I am writing a program to parse a CSV file downloaded from my bank. I have it 
>keep a running balance, but I'm getting a weird total. Apparently, -457.16 + 
>460.93 = 3.76999999999998. But when 20 is subtracted from that, I get -16.23. 

perldoc -q decimals

-- 
Peter Scott
http://www.perldebugged.com/
*** NEW *** http://www.perlmedic.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to