Hi All,
I have an requirement to obtain the pricevalue from Oracle(Decimal 11,2) to create an dataset and this will be the source of MQSeries(JDA is the target system).
Eg:Input
00000000049.99
00000000159.90
Eg:Output
49.99
159.90
I just need a output as above,Please let me know your inputs on this.
Thanks,
Satheesh
Trim leading zero's
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 182
- Joined: Thu Jun 16, 2005 2:05 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The leading zeroes are not significant. Don't worry about them. They are there to prove that precision and scale are being handled correctly. The internal representation, both in DataStage and in Oracle, is binary.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.