Converting string value to number

I want to use a value entered from the textbox in a mathematical operation, but it gives me an error. As far as I understand, the value I entered is a string value, but a number is required for the mathematical operation. How can I convert the value I entered into a number?

To the entered string in the texbox just add +0, it will be turned to a number from string

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.