public double getDouble ( String name ) { double val = 0 ; try { val = Double . valueOf ( request . getParameter ( name ) ) ; } catch ( NumberFormatException e ) { } return val ; }
get a double argument