JavaScript Global Methods

The Number() method converts variables to numbers: