Quote:
Originally Posted by HarryT
Given that there's a fill character, the ">" is, in fact, redundant. Had there not been a fill character, though, it makes, say, a "7" display as " 7" rather than as "7 ".
|
The '>' tells the formatter on which side to fill. The format "0>2s" fills with zeros on the left. If one uses "0<2s", then the zeros will be put on the right.