Project

General

Profile

Actions

Bug #99214

closed

Fluid inline notation calculation failure

Added by Roman Büchler almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Start date:
2022-11-28
Due date:
% Done:

0%

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

Description

In inline notation divisions with a divisor smaller than one are not correct. The following has been observed:

<f:debug>{2 * 3}</f:debug><f:comment>Results in "6 (integer)"</f:comment>
<f:debug>{2 * 0.5}</f:debug><f:comment>Results in "1 (double)"</f:comment>
<f:debug>{2 / 3}</f:debug><f:comment>Results in "0.66666666666667 (double)"</f:comment>
<f:debug>{2 / 0.5}</f:debug><f:comment>Results in "0 (integer)"</f:comment>
<f:debug>{20 / 5}</f:debug><f:comment>Results in "4 (integer)"</f:comment>
Actions

Also available in: Atom PDF