Cleaned up padded numbers formatting code.