private void setBar(final double VALUE) {
        if (minValue > 0) {
            bar.setLength((minValue - VALUE) * angleStep);
        } else {
            bar.setLength(-VALUE * angleStep);
        }
        setBarColor(VALUE);

        smallValueText.setText(String.format(locale, formatString, VALUE / range * 100.0));
        if (tile.getCustomDecimalFormatEnabled()) {
            centerValueText.setText(decimalFormat.format(VALUE));
        } else {
            centerValueText.setText(String.format(locale, formatString, VALUE));
        }
    }
Adopted from CircularProgressTileSkin originally Created by hansolo on 03.03.17.
Modified by Wolf Runnermann on 22.11.2022
src/main/java/eu/hansolo/tilesfx/skins/CircleProgressTileNumberSkin.java