Chapter Contents

Previous

Next
YENw.d

YENw.d



Removes embedded yen signs, commas, and decimal points

Category: Numeric


Syntax
Syntax Description
Details
Examples

Syntax

YENw.d

Syntax Description

w
specifies the width of the input field.
Default: 1
Range: 1-32

d
optionally specifies the power of 10 by which to divide the value.
Requirement: d must be 0 or 2
Tip: If the d is 2, then YENw.d reads a decimal point and two decimal digits. If d is 0, YENw.d reads the value without a decimal point.


Details

The hexadecimal representation of the code for the yen sign character is 5B on EBCDIC systems and 5C on ASCII systems. The monetary character that these codes represent may be different in other countries.


Examples

input value yen10.2;

Data Lines Results
----+----1----+

¥1254.71
1254.71


Chapter Contents

Previous

Next

Top of Page

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