YENw.d Informat

Removes embedded yen signs, commas, and decimal points.
Category: Numeric

Syntax

YENw.d

Syntax Description

w
specifies the width of the input field.
Default:1
Range:1–32
d
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 part.

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 might be different in other countries.

Example

The following example uses yen as the input.
input value yen10.2;
Value
Result
----+----1----+
¥1254.71
1254.71

See Also

Format: