Jump to content

Single Float/Double Float


shane18

Recommended Posts

I don't understand why whenever i store a single float or double float in my mysql database... its only accurate up to a certain point... then there are random numbers to fill out the rest of the space... can someone please help explain how floats work in simple terms lol and also, why is a decimal accurate... when floats arent?

 

-Thanks

Link to comment
https://forums.phpfreaks.com/topic/191006-single-floatdouble-float/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.