Форматер номера PHP
echo number_format(123456, 1, ",", " ");
Lasha Gonjilashvili
echo number_format(123456, 1, ",", " ");