SpinButton.setDigits

Set the precision to be displayed by spin_button. Up to 20 digit precision is allowed.

class SpinButton
void
setDigits
(
uint digits
)

Parameters

digits uint

the number of digits after the decimal point to be displayed for the spin button’s value