How to convert "۱۲۳۴۵" Persian string numbers to double?
I want get Persian number from a textfield and save it in a double variable. I tried:
product.setSellPrice(Double.parseDouble(txtProductSalePrice.getText()));
but this throws Caused by: java.lang.NumberFormatException: For input string:
.