Formatting a Figure Into Human Readable Format in JavaScript

Amir Sanni
1 min readMar 9, 2017

--

Not much to talk about here. This is just a simple way to display a figure e.g. 10000000 as 10,000,000. An equivalence of PHP’s in-built number_format() method. The latter is obviously more human-friendly.

Welcome :)

--

--

Amir Sanni
Amir Sanni

Written by Amir Sanni

I write when I'm bored, and I hardly get bored.

No responses yet