Module:foreign numerals/documentation

Hello, you have come here looking for the meaning of the word Module:foreign numerals/documentation. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:foreign numerals/documentation, but we will also tell you about its etymology, its characteristics and you will know how to say Module:foreign numerals/documentation in singular and plural. Everything you need to know about the word Module:foreign numerals/documentation you have here. The definition of the word Module:foreign numerals/documentation will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:foreign numerals/documentation, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This module provides conversion to and from foreign numerals to native numerical values. It's partially redundant with Module:roman numerals.

Numeral system "From" function "To" function
Roman numerals from_Roman to_Roman
Armenian numerals from_Armenian
Hebrew numerals from_Hebrew to_Hebrew
Indian numerals from_Indian to_Indian

Each function may be called either from a template (see below) or from a module. "From" functions return native numerical values (of 'number' type), while "to" functions return strings.

Example:

{{#invoke:foreign numerals|to_Roman|2764}}

gives

MMDCCLXIV

And the reverse function:

{{#invoke:foreign numerals|from_Roman|MMDCCLXIV}}

gives

2764

This module serves as a backend to the templates {{R2A}} and {{A2R}}.