[ad_1]
Just pass zero to the second parameter, which is the number of decimal places:
number_format(123456789, 0, '', ' ')
4
[ad_2]
solved Format number without decimal in php
[ad_1]
Just pass zero to the second parameter, which is the number of decimal places:
number_format(123456789, 0, '', ' ')
4
[ad_2]
solved Format number without decimal in php