code: @SuppressWarnings("unchecked")
      private T roundOffValueToStep(T value) {
          double d = Math.round(value.doubleValue() / absoluteStepValuePrim) * absoluteStepValuePrim;
          return (T) numberType.toNumber(Math.max(absoluteMinValuePrim, Math.min(absoluteMaxValuePrim, d)));
      }
docs: Round off value using the {@link #absoluteStepValue}
  @param value to be rounded off
  @return rounded off value