Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Some fun formats:

    new Number(1234567890).toLocaleString('en-US-u-nu-fullwide', {useGrouping:false});
you can replace "fullwide" with "mathbold", "mathdbl", "mathmono", "mathsanb", "mathsans", etc.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: