ROMAN

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‚Äč

Syntax

ROMAN(arg1)

Arguments

Description

arg1

A number.

Example

Example 1:

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 version of stereo into something more visually intriguing, we can use ROMAN:

ROMAN(data.vehicle.stereo.version)

This returns the following:

"XXV"