Conversions

Converting Strings to Numbers

number_variable = parseInt ("string_number ");
number_variable = parseFloat ("string_number ");

Converting Numbers to Strings

Example:
var number1 = 13;
newString = number1 + ""; //value of newString is "13"

Return home