MySQL messing up coords
#1

I load vehicles from MySQL, and although I thought everything was going fine..
I have encountered a problem with MySQL, changing my floats.. which is very VERY annoying, as I dont want them changed..

If I put "3241.69995117" into MySQL, it changes it to "3241.7" but I NEED it to stay at "3241.69995117"
Does anyone know why it's doing that and if I can stop it?
Reply
#2

When you declare the field, explicitly write the quantity of maximum number of digits to the right of the decimal point.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)