I need to change a String to a double. I used the following:

double cDigit = Double.parseDouble(matPhyQuantity);
This work properly on the laptop but when I deploy the application to the mobile device it fails. It seems that CrEme does not support this class. Is there an alternative to accomplish this? Thanks in advance.