public Double getParameterDouble(String name, Double defaultValue)
   {
      String value = getParameterValue(name, null);

      if (value != null)
      {
         try
         {
            return StringNumberParser.parseDouble(value);
         }
         catch (NumberFormatException e)
         {
            if (LOG.isTraceEnabled())
            {
               LOG.trace("An exception occurred: " + e.getMessage());
            }
         }
      }
      return defaultValue;
   }
public Double getParameterDouble ( String name , Double defaultValue ) { String value = getParameterValue ( name , null ) ; if ( value != null ) { try { return StringNumberParser . parseDouble ( value ) ; } catch ( NumberFormatException e ) { if ( LOG . isTraceEnabled ( ) ) { LOG . trace ( "An exception occurred: " + e . getMessage ( ) ) ; } } } return defaultValue ; }
Parse named parameter as Double.

@param name
parameter name
@param defaultValue
default Double value
@return Double value