Numbers are data on which we want to perform an arithmetic calculation, for example, multiplying. A telephone number is not a number. To decide whether a variable should be stored as a number or not, ask yourself whether you need to perform arithmetic operations on the number or whether the number includes non-digit characters such as parentheses or hyphens to format the number, such as (414)5551234(414) 555 1234.

Get hands-on with 1400+ tech skills courses.