Support » Plugin: Calculated Fields Form » Imprecise calculations issue

  • Resolved derevco

    (@derevco)


    Hi everyone!
    Trying to calculate 21% tax of an amount. For example, of 22. Creating several fields:
    Enter an amount (fieldname5)
    Amount plus tax (fieldname5*1.21)
    Amount minus tax (fieldname5*79)/100
    Tax (fieldname5*0.21)
    Calculate button

    That is what happens:
    Amount plus tax calculated as 26.619999999999997 although it’s 26.62 http://prntscr.com/uhyumq
    If an amount is 10, Tax calculated as 2.0999999999999996 http://prntscr.com/uhyuhv if i set my formula to fieldname2-fieldname5
    And same unpredictable mistakes from the plugin with other amounts, but most taxes calculated correctly

    Please have direct link to an example of calculation form: https://calculife.com/?cff-form=236

    I have tried out different options of loading the forms, different encoding and change formulas, nothing helps. Not only one form but many of them guilty of this unpredictably

    Can it be fixed please? Any idea how to do this?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Imprecise calculations issue’ is closed to new replies.