Here is my problem.
If I declare a column as 'float(10,2)' and do an insert such as:
'insert into employees (aFloat) values (12345678.12);'
the values shows up as 12345678.00 in the database. I do not understand why. If i declase the column as float(48,2)' I still get the same thing when I insert 12345678.12.
I have read the data types section in the manual but it provides no insight to me on why mysql does this.
If I declare a column as 'float(10,2)' and do an insert such as:
'insert into employees (aFloat) values (12345678.12);'
the values shows up as 12345678.00 in the database. I do not understand why. If i declase the column as float(48,2)' I still get the same thing when I insert 12345678.12.
I have read the data types section in the manual but it provides no insight to me on why mysql does this.