code: public final void setValue(final Float value) {
          Condition.INSTANCE.ensureAtLeast(value, getMinValue(),
                  "The value must be at least the minimum value");
          Condition.INSTANCE.ensureAtMaximum(value, getMaxValue(),
                  "The value must be at maximum the maximum value");
          float roundedValue = adaptToStepSize(roundToDecimals(value));
  
          if (this.value != roundedValue) {
              this.value = roundedValue;
              this.currentValue = roundedValue;
              persistFloat(roundedValue);
              notifyChanged();
          }
      }
docs: Sets the current value of the preference. By setting a value, it will be persisted.
  
  @param value
  The value, which should be set, as a {@link Float} value. The value must be between
  the minimum and the maximum value, the preference allows to select