ARABIC
Last updated
Was this helpful?
Last updated
Was this helpful?
The function ARABIC takes a string representing a number in Roman numerals and returns the Number it represents.
This function takes a as input. If this string represents a number in Roman numerals, the ARABIC function returns the corresponding Arabic .
roman_numeral (required, type: string) A string containing a Roman numeral.
number (type: Number) The Arabic numerical representation of the given Roman numeral.
The following example takes the string "I" and returns the Arabic Number associated with the Roman numeral I:
The following example takes the string "MMMMMCCCXXVII" and returns the Arabic Number associated with the Roman numeral MMMMMCCCXXVII:
The ARABIC function can be considered the opposite of . That is, assuming roman_numeral is a string containing a valid Roman numeral, then the ROMAN function can be used to undo what the ARABIC function did, like so: