Hi.
I have a field that is of type INT(100). However whenever I try to store decimal values in the field only the number to the left side of the decimal is stored. For example if I run the query:
INSERT INTO mytable (myfield) VALUES('249.50')
only the number 249 will be stored and the .50 part will be dropped. What am I doing wrong here?
Thanks.






.
. About the "double", it's the same as float, but a bit more precise; read about the numerical representation of float numbers for details.

Bookmarks