If that means that you want a plain-number command to your openHAB Item for forwarding over MQTT, just do that.
Use a Number tpe Item, set up your slider with the limits that you want.
That leaves just the numeric display, which you can format using a little JS transformation, by specifying that in ‘pattern’ and having the widget use displayState.