Level 3
Just use a number_format()
$foo = 1200
{{ number_format($foo, 2) }}
// 1,200.00
7 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How to make a format number for laravel 5?
Just use a number_format()
$foo = 1200
{{ number_format($foo, 2) }}
// 1,200.00
Please or to participate in this conversation.