34,333
edits
Changes
→PHP printf formatting specifiers
* '''-''' Left-justifies the value
* '''[0-9] ''' Specifies the minimum width to be used by the variable - used in conjuction with the padding character
* '''.[0-9] ''' Specifies the number of decimal digits or maximum string length
As always, some examples will hopefully help to clarify these options: