tivisu Posted December 30, 2018 Share Posted December 30, 2018 Hi, in Mysql have a row with FLOAT 10,2 In form put the number 20.20 and after reload in form show: 20.200000762939 Link to comment Share on other sites More sharing options...
requinix Posted December 30, 2018 Share Posted December 30, 2018 Use round when displaying it. Link to comment Share on other sites More sharing options...
tivisu Posted December 30, 2018 Author Share Posted December 30, 2018 Its work, thank You Link to comment Share on other sites More sharing options...
Barand Posted December 30, 2018 Share Posted December 30, 2018 Alternatively, use a fixed precision type DECIMAL(10,2) instead of FLOAT Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.