Chapter Contents

Previous

Next
ROMANw.

ROMANw.



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.;

Values Results
1998
MCMXCVIII


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.