# GimpUi.LabelSpin.prototype.set_digits

    function set_digits(digits: Number(gint)): void {
        // Gjs wrapper for gimp_label_spin_set_digits()
    }

Set the number of decimal place to display in the spin's entry. If digits is -1, then it will also be estimated based on spin's range. Digits estimation will always be at least 1, so if you want to show integer values only, set 0 explicitly.

digits

  the number of decimal places to display.