I'm new here, and I'm a new user of construct2.
I would like to convert a string from an editbox into a value in order to make simple calculations.
I know how to convert a value to a string with STR but not the inverse.
Thanks for helping.
Use the int() expression:
int(Text.text) for an integer
Develop games in your browser. Powerful, performant & highly capable.
thanks a lot.
I tried float() as well. But works only with ".", not ","
It's not a problem, but is there a solution to recognize "," as a dot ?