#99214Fluid inline notation calculation failure
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>Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 4
-
Chris Müller commented 11/28/22, 18:14
-
Roman Büchler commented 11/29/22, 08:32
Chris Müller wrote in #note-1:
> I assume, this is more an issue for Fluid itself: https://github.com/typo3/fluidThanks, I opened an issue there: https://github.com/TYPO3/Fluid/issues/670
-
Benni Mack changed target version 06/05/23, 09:20
-
Simon Praetorius commented and changed status
NewClosed 06/20/23, 07:07I’m closing this issue, any further discussion can happen in the GitHub issue.
I assume, this is more an issue for Fluid itself: https://github.com/typo3/fluid