0 points

Convert number (r) to a specific local with a minimum number of digits


dashboard

Tue Dec 01 2020 19:28:26 GMT+0000 (UTC)

Posted by @eneki

r.toLocaleString('en-US', {minimumIntegerDigits: 2})
content_copy Copy