code: public static float getFloat(@NotNull ServletRequest request, @NotNull String param) {
      return getFloat(request, param, 0f);
    }
docs: Returns a request parameter as float.
  @param request Request.
  @param param Parameter name.
  @return Parameter value or 0 if it does not exist or is not a number.