Demo showing the use of minimumIntegerDigits
The integer number is padded with zeros due to having less digits than those specified.
by David Storey
JavaScript
console.log(new Intl.NumberFormat("en", { minimumIntegerDigits: 6 }).format(10.10)) // 000,010.1