Get position of thumb on Horizontal slider

I want to create a label showing the value of the slider and i would like it to move along with the slider however i can’t find any way to get the position of the thumb, is there any way to do this or does anyone know how it works it out, i assume there has to be some code that it uses to position it based on it’s current value and the min and max values.

Thanks in advance.

If its a touch just do Input.GetTouch(0).position