0
1 Comment

Hi, I am trying to set up a calculator for this simple equation:

let result =x[1]*(1-x[2]);
y[1] = roundval(result, 2);

x[1] is a dollar amount, x[2] is a percentage, and y[1] is a dollar amount.

The result is set as a field (I tried both other type of results, too).  The result doesn’t show up on the webpage:

https://cashblog.com/?p=35893&preview=true

Only the first two input fields show up (x[1] and x[2]).  Any idea how to solve this?

CalcHub Posted new comment February 24, 2023

Hello.
Please, send the correct link to the page with the calculator