+ 7

In MySQL i am inserting 80.23 in a datatype float (2,2). But i am getting error as : error 1264 Out of range value (column).

Any help would be appreciated.

16th Feb 2018, 10:08 AM
Rstar
Rstar - avatar
1 Respuesta
+ 3
float(2,2) ==> two digits number with two decimals So the range is -0.99 to 0.99 try float(4,2)
16th Feb 2018, 1:45 PM
Prokopios Poulimenos
Prokopios Poulimenos - avatar