on 07-27-2007 2:13 AM
Hi All,
What is right to use string or float for storing decimals and performing operations on them?
Regards,
XIer
Hi,
Use string and do your mapping. When you are doing airthmetic operations then if you are using UDF then I would suggest to use BigDecimal otherwise on few occassions you will not have correct value in the output. Also check this weblog:
/people/thorsten.nordholmsbirk/blog/2006/04/03/never-ever-use-xis-built-in-arithmetic-functions
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
XIer,
The best option is to store in String format and do the validations in mapping by converting them to ur reqd format.
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.