Project

General

Profile

Actions

Bug #93520

closed

Fluid: format.number

Added by Christoph Werner almost 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2021-02-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions

Also available in: Atom PDF