Is there a simple way to force a numerical '+' rather than a string '+' in a function? I'm a beginner with JavaScript but cannot find instruction on how to add two values together in a function as numbers - currently they're being added as strings (one value appended on the end of another).
Also, is there a way to set decimal places on the output of such a calculation?
Many thanks
Graham Duddridge
Also, is there a way to set decimal places on the output of such a calculation?
Many thanks
Graham Duddridge