mcmillan
Site Admin
Joined: 18 May 2003 Posts: 1210 Location: India
|
|
|
|
Dear JobSeeker(?),
You can Use "Rs" as your currency symbol in IBM Cobol (COBOL for OS/390 & VM) and Enterprise COBOL. But this facility is not available in OS/VS COBOL and VS COBOL II.
In the following example, the picture character "$" indicates that the currency sign "Rs." is to be used:
Code: |
SPECIAL-NAMES.
Currency Sign is "Rs." with Picture Symbol "$".
.
.
.
77 INRVALUE Pic $$,$$9.99.
.
.
.
Display "India Money Value: " INRVALUE. |
In this example, if INRVALUE contained 1500.00, the display output would be:
Invoice amount is Rs.1,500.00 |
|