I have taken a value from csv file to a variable of string type.
It will give me result like "1" or "2" in variable getClassNum
I was trying to change this variable to int type and using Number() function, but it is not changing the value to int type and giving me error "The method Number(String) is undefined for the type script"
Can anyone please let me know how to change a string value to int type.
Basically i want to take these int values of column "Scnro_NUM" from my csv file in switch statement.