code: private String getProgressText(final float value) {
          NumberFormat numberFormat = NumberFormat.getInstance();
  
          if (getFloatingPointSeparator() != null && numberFormat instanceof DecimalFormat) {
              DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols();
              decimalFormatSymbols.setDecimalSeparator(getFloatingPointSeparator().charAt(0));
              ((DecimalFormat) numberFormat).setDecimalFormatSymbols(decimalFormatSymbols);
          }
  
          numberFormat.setMinimumFractionDigits(getDecimals());
          numberFormat.setMaximumFractionDigits(getDecimals());
          String valueString = numberFormat.format(value);
  
          if (!TextUtils.isEmpty(getUnit())) {
              return valueString + " " + getUnit();
          }
  
          return valueString;
      }
docs: Returns a textual representation of a specific value. The text is formatted depending on the
  decimal separator, which is currently set and contains the unit, if currently set.
  
  @param value
  The value, whose textual representation should be returned, as a {@link Float} value
  @return A textual representation of the given value as a {@link String}