Gtk.SpinButton.prototype.get_digits

function get_digits():Number {
    // Gjs wrapper for gtk_spin_button_get_digits()
}

Fetches the precision of spin_button. See Gtk.set_digits.

Returns

the current precision