Decimal Point

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
raju4u
Participant
Posts: 56
Joined: Thu Dec 13, 2007 12:30 am

Decimal Point

Post by raju4u »

Hi,

I am getting the data like 80.123,23.123
means after decimal point i am getting 3 digits ,i need to multiply the data and get the results up to 3 decimal point only(121.122).
source is text file here.
do we have any functions for this transformer..

Please let me know..
N R REDDY
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sorry but I can't make any sense out of your question. Can you provide some actual data examples (rather than made up ones) and then the results you need to get from that data? Perhaps then someone can help you get there. Might also help if you exanded on what "multiply the data" means.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What happens if you convert each field to decimal using StringToDecimal() function then multiply the two together into an output field that has a scale of 3?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply