ROMAN
returns the Roman numeral representation of a numerical value.
Functional category: Text​
To perform the opposite operation, transforming a given Roman numeral into its numerical value, use ARABIC
​
ROMAN(arg1)
Arguments | Description |
arg1 | A number. |
Let's say we receive the following product information:
{"data":{"vehicle":{"stereo":{"make": "Bose","model": "Platinum Sound","version":"25"}}}}
If we wanted to transform the value of the key "version"
of the "stereo"
object into something more visually interesting, we can use the following function.
# Change a number into Roman representationROMAN(data.vehicle.stereo.version)​# Returns "XXV"