on 07-09-2009 8:45 PM
Hi Friends
I want to convert the value
3.37E+12 to 3370000000000,
how can i do this in mapping.
Thanks
Srinivas
Thanks for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Srinvias,
Create a user defined function with name Convert and take one argument 'a'.
Import: java.math.;*
Add this code:
BigDecimal bigA = new BigDecimal(a);
return bigA.toString();
Then source --> convert udf --> target. You should get what you are expecting.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.