Issue Bug Closed

#93520Fluid: format.number

Christoph Werner 02/16/21, 11:52 updated 05/09/22, 19:18

Description

Hi!

I think I´ve discovered a bug in the fluid format.number function:

I put the following two examples in an fuid template:

<f:format.number decimalSeparator="." thousandsSeparator="">18,99</f:format.number>

Output > 18.00 < wrong, should bei 18.99

<f:format.number decimalSeparator="," thousandsSeparator="">18.99</f:format.number>

Output > 18,99 < is right

TYPO3 10.4.11 (didn´t saw a fix in versions 11 or 12)
PHP 7.2

Maybe someone can confirm that bug.
Thanks!
Best,
Christoph

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.