Hi @codepeople
Thanks for the reply!
I have tried using ROUND too previously. Even with the code you shared, the Preview button does not return any result for the inputs. I have taken fieldname1 (B) as a number, fieldname2 (C) as a number, using the default form template and have selected “Eval the equations in the onchange and keyup events” in Form Settings.
Have I missed something?
The website is under development where I’m inserting the form.
Best,
Shubham