This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
ARABIC
Dan Gorman edited this page Nov 29, 2018
·
4 revisions
ARABIC
returns the numerical value of a Roman numeral.
ARABIC(arg1)
-
arg1
is a string representing a Roman numeral
Let's say we receive some product information like that shown below:
{
"data":{
"vehicle":{
"stereo":{
"make": "Bose",
"model": "Platinum Sound",
"version":"XIV"
}
}
}
}
If we want to transform that stereo version into something more readable, we can use ARABIC
:
ARABIC(data.vehicle.stereo.version)
This will return 14
.
To perform the opposite operation, transforming a given numerical value into Roman numerals, use ROMAN