How can I change the brightness with a slider?

Just show them a mapped number, not the actual number.

342152-screenshot-2.png