Arithmetic type (Definition)

A subset of the native types concerned with numeric values.

In the C language, programmers need to be aware of the many and various types of numeric value. JavaScript hides a great deal of this complexity by presenting a Number data type.

However, internally it still uses 32 bit integer values, 16 bit integer values, signed and unsigned integers and floating point values.

Arithmetic type values are used with arithmetic operators to build arithmetic expressions.

Characters are maintained as single character strings, but can be represented numerically by converting them to their Unicode code point value using the method String.charCodeAt(). You can convert back again using the String.fromCharCode() method.

See also:String.charCodeAt(), String.fromCharCode()