Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

roman

Summary

Generates a roman representation of a number.

Usage

input|roman( value )

Parameters

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

Balazs Halasy (21/03/2005 9:41 am)

Balazs Halasy (04/05/2005 2:31 pm)


Comments

There are no comments.