@klaas4 Protip: I would use number_format($number, 0, ’’, ’.’) instead, since the second parameter is expected to be an integer. In the second usage description, you can see:
string number_format ( float $number , int $decimals , string $dec_poi…
Which tells you that it expects an “int” for $decimals.
—
The PHP variable types are:
boolean: truth value (true or false)
integer: round numbers (0, 196, 333, ...)
float: floating-point number or ‘double’ (0.928, 23.0, 1.4, ...)
string: “Hello World”
and then you have compound types like arrays and objects (and then special types).
Hope this helps, good luck with your project!