Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Retrieve float number from mysql db

by bitingduck (Chaplain)
on Oct 17, 2015 at 03:20 UTC ( [id://1145174]=note: print w/replies, xml ) Need Help??


in reply to Re: Retrieve float number from mysql db
in thread OT: Retrieve float number from mysql db

Wikipedia also has more details on the limits of precision of 4 byte floats: Single Precision Floating Point. You can only store integers with less than 6 significant digits of precision with the guarantee that you won't suffer approximation. If you need the precision, make sure you choose a type that supports it, and be aware that floating point can get approximated different ways in different implementations that both comply with the same standard.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2024-03-28 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found