# You can convert a string to a number using the following two functions str2num('123') str2double('123')