public static double getDouble(@NotNull ServletRequest request, @NotNull String param) {
    return getDouble(request, param, 0d);
  }
public static double getDouble ( @ NotNull ServletRequest request , @ NotNull String param ) { return getDouble ( request , param , 0d ) ; }
Returns a request parameter as double.
@param request Request.
@param param Parameter name.
@return Parameter value or 0 if it does not exist or is not a number.