Project

General

Profile

Actions

Bug #99214

closed

Fluid inline notation calculation failure

Added by Roman Büchler over 1 year ago. Updated 11 months 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 #1

Updated by Chris Müller over 1 year ago

I assume, this is more an issue for Fluid itself: https://github.com/typo3/fluid

Actions #2

Updated by Roman Büchler over 1 year ago

Chris Müller wrote in #note-1:

I assume, this is more an issue for Fluid itself: https://github.com/typo3/fluid

Thanks, I opened an issue there: https://github.com/TYPO3/Fluid/issues/670

Actions #3

Updated by Benni Mack 11 months ago

  • Target version changed from 12 LTS to Candidate for patchlevel
Actions #4

Updated by Simon Praetorius 11 months ago

  • Status changed from New to Closed

I'm closing this issue, any further discussion can happen in the GitHub issue.

Actions

Also available in: Atom PDF