Consolidate numeric zero padding functions

No need to have 3 or more separate internal numeric zero padding functions.