Issue Bug Closed

#99283number_format require integer as decimal

Achim Fritz 12/06/22, 08:49 updated 02/08/23, 16:06

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

Reviews 2