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
ROMAN
Dan Gorman edited this page Nov 29, 2018
·
3 revisions
ROMAN
returns the Roman numeral representation of a numerical value.
ROMAN(arg1)
-
arg1
is a number
Let's say we receive some product information like that shown below:
{
"data":{
"vehicle":{
"stereo":{
"make": "Bose",
"model": "Platinum Sound",
"version":"25"
}
}
}
}
If we wanted to transform that stereo version into something more visually intriguing, we can use ROMAN
:
ROMAN(data.vehicle.stereo.version)
This would return "XXV"
.
To perform the opposite operation, transforming a given Roman numeral into its numerical value, use ARABIC