
7 Jul
2017
7 Jul
'17
10:31
Op vrijdag 7 juli 2017 11:51:33 CEST schreef Per Jessen:
Per Jessen wrote:
Does anyone know why PHP printf() does not (apparently) support the ' (single quote) to indicate a number format with thousands separator?
This is the printf() format (for instance): "%'.2f". This works fine in C and with bash:printf, but somehow not in php. I was just wondering why that might be?
No idea why, but I mostly use number_format(..), see http://php.net/manual/en/function.number-format.php -- Gertjan Lettink, a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org