Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2016-08-26 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (365 votes). Check out past polls.