- How can i convert decimal to double for big calculation in Android
- dp=Double.parseDouble(txtDownPayment.getText().toString());
- NumberFormat nf = NumberFormat.getCurrencyInstance();
- // here i need to convert decimal to double or any bigger type.
- String temp = nf.format(Double.parseDouble(txtDownPayment.getText().toString()));
- txtDownPayment.setText(temp);
- double doubleValue = new Double(intValue);