Ver original$big_int = $p; $formatted_int = number_format($big_int, 0, '.', ''); echo $formatted_int;