Truncate and Round Float type data
Posted: Mon Jun 10, 2013 12:15 am
Hi
I have a Sybase source with Column A as Float. I want to Truncate the value of decimals to 8 places and round it and if there is a zero after decimal place, that should be padded with 8 zeroes.
My job design is
Sybase Src (Float) ---> Transfrmer ----> Sequential file (Float)
I didn't find a function to do this in Transformer.
Please suggest how can I do this.
Thanks
Suresh
I have a Sybase source with Column A as Float. I want to Truncate the value of decimals to 8 places and round it and if there is a zero after decimal place, that should be padded with 8 zeroes.
My job design is
Sybase Src (Float) ---> Transfrmer ----> Sequential file (Float)
I didn't find a function to do this in Transformer.
Please suggest how can I do this.
Thanks
Suresh