You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At https://github.com/laravel/framework/blob/master/src/Illuminate/Database/Schema/Blueprint.php#L505 the default precision of float is set to 8 digits, 2 max after the decimal place. This is absolutely bizarre. That's the kind of thing decimal is used for. When I want a float I want a huge amount of precision (or double for even more of course), and I see no reason for the framework to presume 2 decimal places is enough.
Gummibeer, fisharebest, OAmor, programmin1, RobinBastiaan and 2 more