Slider Popup display help

I currently have a slider object that has the setPopupDisplayEnabled set to true. I get the Popup display but i need to reformat the display value so I can convert its values to dB and have that shown in the popup display.
does anyone know how i can override the popup display with my own values?

Overriding getTextFromValue() should do it, I think.