Project

General

Profile

Actions

Bug #99283

closed

number_format require integer as decimal

Added by Achim Fritz almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2022-12-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

passing decimal as string value to various VH results in TypeError "number_format(): Argument #2 ($decimals) must be of type int, string given"
(if using TS settings all variables are strings), e.g

<f:format.bytes decimals="{settings.decimals}">3424</f:format.bytes>

Tested with v12 and PHP 8.1


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #98631: CurrencyViewHelper have parameter decimals as string, int neededClosed2022-10-17

Actions
Actions

Also available in: Atom PDF