# Number

A number is a value of a numerical type.

*Closest Wikipedia entry:* Number — A number is a mathematical object used to count, measure, and label. The original examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words.

## Misconceptions about Number15 documented Misconceptions

Check YourselfCharNotNumeric

Char is not a numeric typeIntegerDivisionToRational

Dividing two integers can produce a rational numberLargeIntegerLong

Large integer numbers have type longNoCastIfSameSize

If a variable is at least as big (bit-width) as a value, then no cast is needed to a assign the value to the variableNoFloatLiterals

There are no float literalsNoLongLiterals

There are no long literalsNumericToBooleanCoercion

Numeric types can be coerced to booleanRationalLiterals

Rational fractions are literalsReferenceToIntegerConversion

One can cast between references and intsStringRepetitionOperator

The multiplication operator can repeat a String a number of timesTargetTyping

The type of a numerical expression depends on the type expected by the surrounding contextZeroDigitsCompress

In integer numbers, decimal digits with value `0` take less storage than decimal digits with other values