Previous Page | Next Page

Formats

ROMANw. Format



Writes numeric values as roman numerals.
Category: Numeric
Alignment: left

Syntax
Syntax Description
Details
Examples

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.


Examples

put @5 year roman10.;

Value of year Results
1998
MCMXCVIII

Previous Page | Next Page | Top of Page