function of converting string to double with exception injava code example
Example 1: transformer un string en double java
String number = "123,321";
double value = Double.parseDouble( number.replace(",",".") );
Example 2: transformer un string en double java
double total = Double.parseDouble(jlbTotal.getText());
double price = Double.parseDouble(jlbPrice.getText());