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 #1

Updated by Chris Müller almost 2 years ago

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

Actions #2

Updated by Roman Büchler almost 2 years 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 over 1 year ago

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

Updated by Simon Praetorius over 1 year 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