I'm storing latitude and longitude and the problem I'm having is when it is being stored it gets rounded up, which isn't what I want. Otherwise those field values become incorrect when using the latitude and longitude on the map.
This is what I'm using:
$table->decimal('lat', 10, 8)->nullable();
$table->decimal('lng', 11, 8)->nullable();
this value -40.95560269999999 gets turned into this -40.9556027000 when I just want -40.9556026999