how to write float in laravel code example Example: show float laravel blade <td>{{ number_format($variable_name->price, 2) }}</td>