public double getDoubleProperty ( final String name , final double defaultValue ) { final String prop = getStringProperty ( name ) ; if ( prop != null ) { try { return Double . parseDouble ( prop ) ; } catch ( final Exception ignored ) { return defaultValue ; } } return defaultValue ; }
Gets the named property as a double .