Ok, simple question here.  I'm just asking because... well I just don't
know.  wee.

%d, where %d is defined as the character's hp, will make:
|HP: 5 |
%10d will make:
|HP:          5 |
To reserve 10 spaces for the integer, where only one is used, the rest are
left hanging... Pretty simple, right?
Well, what if you want it left-aligned:
|HP: 5          |
--Or centered, for that matter?
|HP:      5     |

(Yes, I know only an odd number can have a center in this case.)


Reply via email to