Add floor option to formatNumber
Add pad option to formatNumber to pad with leading zeroes