Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Rounding off the scale value after decimal point

by choroba (Chancellor)
on Sep 17, 2012 at 15:48 UTC ( #994053=note: print w/replies, xml ) Need Help??


in reply to Rounding off the scale value after decimal point

It is a precision issue:
perl -e 'print 4632.3190000000000 == 4632.3190000000008'
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994053]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-02-28 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (396 votes). Check out past polls.