IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Convert 123 into 1.23, 4000 into 40.00 etc


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Nabi

New User


Joined: 13 May 2009
Posts: 8
Location: luxemberg

PostPosted: Wed Jun 17, 2009 6:52 pm
Reply with quote

Hi,
I want to convert 123 into 1.23, 4000 into 40.00 etc

General move is not working:
A 9(2).99
MOVE 1234 TO A

Now A will have 34.00 but not 12.34

Please help me out.

Thanks
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Jun 17, 2009 7:07 pm
Reply with quote

www.ibmmainframes.com/viewtopic.php?t=37715&highlight=decimal
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Convert HEX to Numeric DB2 3
Search our Forums:

Back to Top