I am facing problem in big decimal no. Following code snippet will explain my problem:
BigDecimal parsedValue = (BigDecimal) decimalFormat.parse(input);
Here input is a string type. Now suppose value of input is 135abc24 in this case value of parsedValue is 135 but i want to check for such inputs and give an error instead of truncating the string and rest of part. Just want to add input string may also contains exponential nos, so i cant even check for only numeric strings. Please let me know if you want further information or or question is not clear,
Thanks in advance.