Issue Bug Closed

#99214Fluid inline notation calculation failure

Roman Büchler 11/28/22, 14:54 updated 06/20/23, 07:07

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

  1. Chris Müller commented 11/28/22, 18:14

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

  2. 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/fluid

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

  3. Benni Mack changed target version 06/05/23, 09:20

  4. Simon Praetorius commented and changed status New Closed 06/20/23, 07:07

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