public double getDouble ( String name , String namespace , double defaultValue ) { String v = get ( name , namespace ) ; return v != null ? Double . parseDouble ( v ) : defaultValue ; }
Returns the attribute as a double value or the default .