all,
i am getting values in my output file for one of my columns are like:
102.34
-103.68
108.98
-45.08
etc etc
but requirement is to get absolute values(to remove '-' symbol)
i used Abs function in my transformer for that perticular calculation,but when i tried with the function ,the decimals are chopped off.
i am getting values like..
102,
103.
108
etc etc.....
how to get absolute values without decimal values are chopped off.
thanks for the help.
chopping decimals
Moderators: chulett, rschirm, roy
chopping decimals
Thanx&Regards
scorpion
scorpion
-
- Participant
- Posts: 38
- Joined: Wed Sep 19, 2007 10:11 am
- Location: Canada
If you have fixed decimal to 2 places, do "ABS(In.Column*100)/100"
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>