View previous topic :: View next topic
|
Author |
Message |
shelu280
New User
Joined: 12 Jan 2009 Posts: 9 Location: chennai
|
|
|
|
if i have input 12325
what should be picture clause to get value : 00123.25 |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
You'd need two pictures. One for the input data and one for your output.
Code: |
PIC 999V99
PIC 9(5).99 |
[/code] |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
You also need to read the manual re numeric editing characters |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Perhaps clearer for output, since you only have max of 999.99 for input:
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
if i have input 12325 |
How is this defined in the program?
The better informatoin you provide initially, the quicker replies you can use directly will appear.
When we guess (and many of us will ) it is likely that we will not have the same focus as you and so start away from the actual question. . . |
|
Back to top |
|
|
|