I'm using a library where I need to set a value on a variable and it only accepts float
type, but the TrackBar
Control only accepts Int32
for its Value
property.
So let's say that the Min value of TrackBar
is 0 and Max value is 100. And the Current value of TrackBar
is 67; how do I convert that value to its equivalent in float? So it should become something like 0.067, if I'm correct.