Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Rounding off the scale value after decimal point

by choroba (Canon)
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'
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Rounding off the scale value after decimal point
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994053]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (16)
As of 2015-06-03 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (139 votes), past polls