There are also characters that represent numbers without a digit system, like the Roman numerals, and fractional numbers, like 1/4 or 3/4.
The following type represents the numeric value of a Unicode character.
This is a structure type with the following fields:
int numerator; int denominator;An integer n is represented by
numerator =n,denominator = 1.
The following function converts a number character to its numerical value.