Hi, i'm getting string variable (timecode time) from text file.
It's processed as a string. For example
var number1="008";
var number2="011";
How can I translate it to integer?
string variable to int
Moderator: Paul Tuersley
Try this:
Code: Select all
var number1 = "008";
var integer1 = parseInt(number1);