PHP文字列number_format
str_split

number_format文字列

数値を書式化した文字列で返します。

構文

number_format(float $num, int $decimals = 0): string