![php - MySql converts a floating value into integer when recording on a float field on DDBB - Stack Overflow php - MySql converts a floating value into integer when recording on a float field on DDBB - Stack Overflow](https://i.stack.imgur.com/Mpstu.png)
php - MySql converts a floating value into integer when recording on a float field on DDBB - Stack Overflow
![Laravel Daily on Twitter: "Laravel tip of the day: don't store money values as float/decimal in the database. Store as integer, and use Laravel accessors/mutators to format back and forth. Reasons explained, Laravel Daily on Twitter: "Laravel tip of the day: don't store money values as float/decimal in the database. Store as integer, and use Laravel accessors/mutators to format back and forth. Reasons explained,](https://pbs.twimg.com/media/EjuYNHTXYAESSwR.jpg:large)
Laravel Daily on Twitter: "Laravel tip of the day: don't store money values as float/decimal in the database. Store as integer, and use Laravel accessors/mutators to format back and forth. Reasons explained,
![php - 0 (Zero) added for for empty 'float' fields instead of null after updating MySQL - Stack Overflow php - 0 (Zero) added for for empty 'float' fields instead of null after updating MySQL - Stack Overflow](https://i.stack.imgur.com/ZBplk.png)