public Double getConfigValueDouble ( String key , Double dflt ) { try { return Double . parseDouble ( getConfigValue ( key ) ) ; } catch ( Exception e ) { return dflt ; } }
This is a convenience method for returning a named configuration value that is expected to be a double floating point number .