egui does provide different int/float sliders, and these display numbers a bit differently which feels less awkward
For example, even when numbers are rounded off, the current "Whole Number Widget" will display 1.0, 2.0, etc. if the range is small enough.