How to add leading zeroes to a number in adafruit ssd1306 OLED

Centered on the right side of what ?
How many digits are you expecting ?