Calculate total

I have this page

I insert number in number 1 and number 2 input box
and I want calculate grand total

How to convert in number ?
Thank

solved with this code in input text grand total
text3.setValue(text1.value.toNumber() + (text2.value.toNumber()))
thank you

1 Like