PHPmathnumber_format
floatval

number_formatmath

intdiv

Format a number with grouped thousands.

Syntax

number_format(float $num, int $decimals = 0, string $decimal_separator = '.', string $thousands_separator = ','): string