I know I can use the toString() function to cast an integer as a string, but is there a reverse function that I can use to case a number stored in a string attribute to an integer or real number?
asked
David Sanders
2 answers
10
parseInteger('22')
answered
Achiel
7
Yes, there are parseInteger and parseFloat functions, for details and examples see this wiki page.