• Resolved PB

    (@ohtusabes)


    Hi @codepeople2

    The form occasionally calculates incorrect values, as it seems not to be performing the summation correctly. For example, instead of calculating the sum of 3 + 2 + 1 + 0 + 0 to get 5, it displays 32100. Could you provide any guidance on resolving this issue?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author CodePeople2

    (@codepeople2)

    Hello @ohtusabes

    In JavaScript the plus (+) operator is overloaded, it is used to add numbers or concatenate texts, and the concatenation takes precedence. To avoid ambiguity, I recommend to use the SUM operation in the plugin:

    SUM(3,2,1,0,0)

    Best regards.

    Thread Starter PB

    (@ohtusabes)

    Hi @codepeople2

    Yes, it works. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Erratic calculations’ is closed to new replies.