• Resolved saasmaine

    (@saasmaine)


    As you can see on my blog post, it doesn’t show the results field, and when I click on the Calculate button, it doesn’t do anything.

    The formula code I’ve input is as follows:

    let x = x[4];
    let V = x[1];
    let TPA = x[2];
    let ratio = x[3];
    let RoF = y[1];
    
    let result = (x * V) / (TPA * ratio);
    
    y[1] = result;

    Any assistance would be appreciated, thank you.

    • This topic was modified 1 year, 9 months ago by Yui.
    • This topic was modified 1 year, 9 months ago by saasmaine.
    • This topic was modified 1 year, 9 months ago by saasmaine.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter saasmaine

    (@saasmaine)

    Okay, I seem to have fixed it.

    Instead of using all those extra variables and stuff, this is how I got it to calculate and show up:

    y[1] = (x[4] * x[1]) / (x[2] * x[3]);

    Plugin Author Wow-Company

    (@wpcalc)

    Hello.

    The problem with the formula in the first post:

    let x = x[4];

    The variables x and y are reserved by the plugin. They cannot be overridden.

    Thread Starter saasmaine

    (@saasmaine)

    That makes sense. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Calculator isn’t working’ is closed to new replies.