ROMANw. Format

Writes numeric values as roman numerals.

Category: Numeric
Alignment: Left

Syntax

ROMANw.

Syntax Description

w

specifies the width of the output field.

Default 6
Range 2–32

Details

The ROMANw. format truncates a floating-point value to its integer component before the value is written.

Example

put @5 year roman10.;
Value of year
Result
2012
MMXII