roman
Summary
Generates a roman representation of a number.
Usage
input|roman( value )
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| value | integer | A number that should be converted. | Only if the input parameter is omitted. |
Returns
A string containing a roman number.
Description
This operator will convert either the input or the "value" parameter to a roman number. If both are provided, it is the "value" parameter that will be used.
Examples
Example 1
{8|roman()}or
{roman( 8 )}The following output will be produced: "VIII".
Contributors
- Balazs Halasy Updated
Comments
Add a comment