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 · 4 revisions

The ARABIC Function

Function Group: Text

ARABIC returns the numerical value of a Roman numeral.

Syntax

ARABIC(arg1)

  • arg1 is a string representing a Roman numeral

Uses

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.

Notes

To perform the opposite operation, transforming a given numerical value into Roman numerals, use ROMAN

Clone this wiki locally