Page 1 of 1

Urgent

Posted: Wed Jan 30, 2008 4:06 am
by kunal1101
Hi,
I have data coming in following format:-
1000,
1000,5
1000,52
where ',' denotes decimal...
i want op in following format:-
0000000000000000100000
0000000000000000100050
0000000000000000100052
i.e THE SEPRATOR ',' should be removed and the amt field should be appended by zeroes(i.e if length before ',' is 4 12 zeroes should be appended,if it is 5,11 zeroes should be appened and so on...)

Posted: Wed Jan 30, 2008 4:08 pm
by ray.wurlod
We don't do URGENT here. DSXchange is an all-volunteer site whose participants post as and when they can. If you want urgent help, sign up with your support provider for premium service, and learn how much "urgent" is worth.

Further, URGENT is not a particularly meaningful subject. You should always try to create a subject that will assist future searchers.

Posted: Wed Jan 30, 2008 10:10 pm
by jvmerc
You need to define you elements in your type tree. Go thru the properties of your element and define it based on your requirements. The second part of your needs is easy. right justify, zero fill, no separators.