Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
Dan Gorman edited this page Nov 29, 2018 · 3 revisions

The ROMAN Function

Function Group: Text

ROMAN returns the Roman numeral representation of a numerical value.

Syntax

ROMAN(arg1)

  • arg1 is a number

Uses

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".

Notes

To perform the opposite operation, transforming a given Roman numeral into its numerical value, use ARABIC

Clone this wiki locally