Actions
Bug #99214
closedFluid inline notation calculation failure
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>
Updated by Chris Müller almost 2 years ago
I assume, this is more an issue for Fluid itself: https://github.com/typo3/fluid
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
Updated by Benni Mack over 1 year ago
- Target version changed from 12 LTS to Candidate for patchlevel
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