# ROMAN

**The function ROMAN takes a number and converts into Roman numerals.**

This function takes a single [Number](../../variable-data-types/the-number-variable-data-type) as input. It returns a [string](../../variable-data-types/the-text-variable-data-type): the given number represented in Roman numerals.

#### Declaration

```javascript
ROMAN(number) -> roman_numeral
```

&#x20;

#### Parameters

**number** (required, type: _Number_) Any Number.&#x20;

#### Return Values

**roman\_numeral** (type: _string_) The Roman numeral representation of the given Number.

#### Examples

The following example takes the Number 1 and returns it in Roman numeral form:

```javascript
ROMAN(1) -> "I"
```

The following example takes the Number 5372 and returns it in Roman numeral form:

```javascript
ROMAN(5372) -> "MMMMMCCCXXVII"
```

#### &#x20;Discussion:

The ROMAN function can be considered the opposite of [ARABIC](arabic). That is, for a given number **example\_number,** the ARABIC function can be used to undo what the ROMAN function did, like so:

```javascript
ARABIC(ROMAN(example_number)) -> example_number
```
