When I discovered that a variable slider can only be configured to display either a precision of zero or two decimal places, I decided to create a block to over-ride the slider configured settings. Settings > 0 set the number of decimal points. Settings < 0 round the number to a power of ten.
Limitation: Setting > 2 may display as configured, but a slider cannot select with precision < .01 The on-stage sliders are all configured to two decimal places. I have hard-coded the precision of the first 7 variables. The last one is configurable on-the-fly. This is a small portion of code from a larger project I'm developing on my alt account.