I missed a point here.. You can easily do this using below code..
String strStrkiePrice = "123.5";
DecimalFormat df = new DecimalFormat("00000.000");
strStrkiePrice = df.format(new Double(strStrkiePrice));
int dot = strStrkiePrice.indexOf(".");
//Strike Price Whole
String strikePriceWhole = strStrkiePrice.substring(0,dot);
//Result: 00123
//Strike Price Decimal
String strikePriceDecimal = strStrkiePrice.substring(dot+1);
//Result: 500



