I have a string being returned as a data feed which I need to convert to the correct BigDecimal format - the string is of the format
1.6945E3
and needs to translate to 1694.50 but instead translates only to 1694.5 leading to loss of information. The following is the code I am using.
I am just passing the string and doing a new on a instance of BigDecimal.
Any ideas on how to get the correct data representation.
Thanks '