Hi all,
We are in a situation to handle numbers with a maximum of 15 digits. We need to parse this value from a text file, through C, store it in Informix table. There is another Java component that reads these values, does mathematical operations and computes a result.
I have been doing some research on this and found that the int8 datatype provided by Informix will be a suitable candidate for C.
With regard to Java, I plan to use the BigInteger class.
Are there any pitfalls in taking this approach. Any thoughts are appreciated.
Just for your information, this is an old application and it has been using the primitives so far. Moreover it has only been able to handle numbers within the range of the primitives.
Thanks.