Cant sum as a number

I want to sum +1 as a number but it did as a string:

(I set the input to a number input)

Please tell me how can I sum a number

Hi,

You need to use a number wrapper around a string if you want to sum a string & number together.

let string = $w("#aString").text;
let sum = Number(string) + 1;

Thx