fixed formatting of integers to allow for leading 0's

I know I shouldn't be using this, but it looked interesting and noticed a minor issue with int formatting when you have leading 0's always.