libuninum is a library for converting Unicode strings to numbers. Internal
computation is done using arbitrary precision arithmetic, so there is no
limit on the size of the integer that can be converted. The value is returned
as an ASCII decimal string, a GNU MP object, or an unsigned long integer.
Auto-detection of the number system is provided. The number systems supported
include Arabic, Armenian, Balinese, Bengali, Burmese, Chinese, Cyrillic,
Devanagari, Egyptian, Ethiopic, Glagolitic, Greek, Gujarati, Gurmukhi, Hebrew,
Kannada, Khmer, Klingon, Lao, Limbu, Malayalam, Mongolian, New Tai Lue, Nko,
Old Italic, Old Persian, Oriya, Osmanya, Perso-Arabic, Phoenician, Roman
Numerals, Tamil, Telugu, Tengwar, Thai, and Tibetan.
This is a library for converting Unicode strings to numbers. Standard
functions like strtoul and strtod do this for numbers written in the usual
Western number system using the Indo-Arabic numerals, but they do not handle
other number systems. The main functions take as input a UTF-32 Unicode
string and compute the corresponding unsigned integer. Internal computation
is done using ar
Version 2.1 addds several number systems, provides the ability to insert group
delimiters, and provides a completely rewritten numconv, for which
a manual page is now available.
Version 2.0 adds conversion from numbers to strings.
Version 1.3 adds a Tcl API.
Version 1.2 adds several number systems and extends support for Chinese.
Version 1.1 fixes a bug in Chinese, adds support for several a
NUMCONV(1) User Commands NUMCONV(1)
numconv - convert numbers from one number system to another
numconv is a filter that converts integers from one number
system to another. For example, it can convert from Roman
Numerals such as "CCLVI" to ordinary Western numbers such as