$value = "0000050"; $formatted_value = number_format((float)$value, 2, '.', ','); echo $formatted_value;

umarım bir yararı olmuştur