New Resources Specific to XmNspinboxType of XmSPINBOX_NUMBER

Spinbox defines the following resources:

Name Class Type Default Access
XmNdecimalPoints XmCDecimalPoints short 0 CSG
XmNleadingZeroes XmCLeaingZeroes Boolean False CSG

XmNdecimalPoints
A positive integer that determines how the spinbox's value will be displayed. The decimal point in the spinbox's value gets shifted to the right, and this resource specifies the number of decimal places to shift. For example, if the spinbox's value is 1234, then setting its XmNdecimalPoints resource to 2 causes it to display 12.34.

XmNleadingZeroes
If True, the number format will pad the display value with leading zeroes (and trailing zeroes, if the value has decimal places). This can be useful for giving users visual cues on the expected values for the spinbox.