This is the old documentation center for eZ Publish 4. We are currently migrating the eZ Publish documentation to http://confluence.ez.no the eZ Publish 5 documentation platform. Documentation for the eZ Publish legacy components are still located on this site, as well as all documentation for earlier releases.

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 10:41 am)

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


Comments

There are no comments.