A numeral (often called number in Unicode) is a character that denotes a number. The decimal number digits 0–9 are used widely in various writing systems throughout the world, however the graphemes representing the decimal digits differ widely. Therefore Unicode includes 22 different sets of graphemes for the decimal digits, and also various decimal points, thousands separators, negative signs, etc. Unicode also includes several non-decimal numerals such as Aegean numerals, Roman numerals, counting rod numerals, Mayan numerals, Cuneiform numerals and ancient Greek numerals. There is also a large number of typographical variations of the Western Arabic numerals provided for specialized mathematical use and for compatibility with earlier character sets, such as ² or ②, and composite characters such as ½.
Numerals by numeric property Grouped by their numerical property as used in a text, Unicode has four values for Numeric Type. First there is the "not a number" type. Then there are decimal-radix numbers, commonly used in Western style decimals (plain 0–9), there are numbers that are not part of a decimal system such as Roman numbers, and decimal numbers in typographic context, such as encircled numbers. Not noted is a numbering like "A. B. C." for chapter numbering.
Hexadecimal digits Hexadecimal digits in Unicode are not separate characters; existing letters and numbers are used. These characters have marked Character properties Hex_digit=Yes, and ASCII_Hex_digit=Yes when appropriate.
Numerals by script
Digits Unicode includes the Western Arabic numerals in the Basic Latin (or ASCII derived) block. Other forms of the ten digits are in several other scripts: Eastern Arabic, Balinese, Bengali, Devanagari, Ethiopic, Gujarati, Gurmukhi, Telugu, Khmer, Lao, Limbu, Malayalam, Mongolian, Myanmar, New Tai Lue, Nko, Oriya, Telugu, Thai, Tibetan, Osmanya. Unicode includes a numeric value property for each digit to assist in collation and other text processing operations. However, there is no mapping between the various related digits. Although Arabic and some other languages are written right to left, numbers in most languages are written with the most significant digit on the left and the least significant on the right. The Unicode characters have direction properties so they are written left to right and thus the most significant digit should be first in a text file no matter what language is used. The digits can be reused for bases less than 10, but letters or other characters must be used for hexadecimal or any other base larger than 10. These characters lack the numeric value property.
Fractions The U+2044 ⁄ FRACTION SLASH allows authors using Unicode to compose any arbitrary fraction along with the decimal digits. This was intended to instruct font rendering to make the surrounding digits smaller and raise them on the left and lower them on the right, but this is rarely implemented. (A workaround is to use the super/subscript characters described below, but only Arabic numerals are available.) Unicode also includes a handful of vulgar fractions as compatibility characters, but discourages their use.
Decimal fractions Several characters in Unicode can serve as a decimal separator depending on the locale. Decimal fractions are represented in text as a sequence of decimal digit numerals with a decimal separator separating the whole-number portion from the fractional portion. For example, the decimal fraction for ¼ is expressed as zero-point-two-five ("0.25"). Unicode has no dedicated general decimal separator but unifies the decimal separator function with other punctuation characters. So the "." used in "0.25" is the same period character (U+002E) used to end the sentence. However, cultures vary in the glyph or grapheme used for a decimal separator. So in some locales, the comma (U+002C) may be used instead: "0,25". Still other locales use a space (or non-breaking space) for "0 25". The Arabic writing system includes a dedicated character for a decimal separator that looks much like a comma, U+066B ٫ ARABIC DECIMAL SEPARATOR, which when combined with the Arabic digits to express one-quarter appears as: "٠٫٢٥".
Characters for mathematical constants Currently, three Unicode characters semantically represent mathematical constants: U+210E ℎ PLANCK CONSTANT, the U+210F ℏ PLANCK CONSTANT OVER TWO PI, and U+2107 ℇ EULER CONSTANT (of unknown significance). Other mathematical constants can be represented using characters that have multiple semantic uses. For example, although Unicode includes a character for natural exponent ℯ (U+212F) its UCS canonical name derives from its glyph: U+212F ℯ SCRIPT SMALL E; and the mathematical constant π, 3.141592.., is represented by U+03C0 π GREEK SMALL LETTER PI.
Rich text and other compatibility numerals The Western Arabic numerals also appear among the compatibility characters as rich text variant forms including bold, double-struck, monospace, sans-serif and sans-serif bold, along with fullwidth variants for legacy vertical text support. Rich text parenthesized, circled and other variants are also included in the blocks Enclosed CJK Letters and Months; Enclosed Alphanumerics; Enclosed Alphanumeric Supplement; Superscripts and Subscripts; Number Forms; and Dingbats.
Suzhou (huāmǎ/Sūzhōu mǎzi) numerals
The huāmǎ (simplified Chinese: 花码; traditional Chinese: 花碼)/Sūzhōu mǎzi (simplified Chinese: 苏州码子; traditional Chinese: 蘇州碼字) system is a variation of the rod numeral system. Rod numerals are closely related to the counting rods and the abacus, which is why the numeric symbols for 1, 2, 3, 6, 7 and 8 in the huāmǎ system are represented in a similar way as on the abacus. Nowadays, the huāmǎ system is only used for displaying prices in Chinese markets or on traditional handwritten invoices.
… excerpt ends here. Continue reading the full article.