// String to Int
myStringInt = "10";
console.log(parseInt(myStringInt)); // expected result: 10
// String to Float
myStringFloat = "8.33";
console.log(parseFloat(myStringFloat)); // expected result: 8.33
// String to any numeric type
console.log(Number(myStringInt)); // expected result: 10
console.log(Number(myStringFloat)); // expected result: 8.33