on 2007 May 02 11:30 AM
Hi,
I need to convert an integer to a 10 digit character.Could you help me to know how I could do it?
e.g. if the integer is 6000034, the converted value must be 0006000034.
I need to have the leading zereos.
Thanks,
Sandeep.
Request clarification before answering.
var = 6000034.
data: v_var(10) type n.
unpack var to v_var.
move v_var to v_char.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.