Code-Samples/javascript/39.3_datatype_code.html Number() method is used to convert a variable, value or expression to number type.