Integer Slider

Hi, I’m a noob when it comes to both C++ and Juce.

I’d like to make a slider or some equivalent knob that sends and displays int values instead of floats, so I can more cleanly adjust my parameters.

Any recommendations?

void Slider::setRange	(	double 	newMinimum,
                            double 	newMaximum,
                            double 	newInterval = 0 

Set newInterval to 1


Thank you