code: public static double getDouble(String pStr) {
          if (isEmpty(pStr)) {
              return 0.0;
          }
          double value = 0.0;
          pStr = pStr.substring(0, pStr.length() - 2) + "." + pStr.substring(pStr.length() - 2);
          try {
              value = Double.parseDouble(pStr);
          } catch (NumberFormatException ex) {
          }
          return value;
      }
docs: Returns the parsed double value out of the passed in String
  
  @param pStr A String value.
  
  @return A double value.
  
  @see Double#parseDouble(java.lang.String)