java.lang.NumberFormatException: Character , is neither a decimal digit number, decimal point, nor "e" notation exponential mark
Hi,
Getting the following java exception while invoking the DecimalFormat() in functions.
Error-
java.lang.NumberFormatException: Character , is neither a decimal digit number, decimal point, nor "e" notation exponential mark
Code:
java.text.DecimalFormat df = new java.text.DecimalFormat("#,###.##"); return df.format(InputNumber);
Anyone else has faced this issue? Need to format a number. Ex: from 123456 to 123,456. We are invoking the above function in activities.
***Edited by Moderator Rupashree S. to add Capability tags***