avatarMarcin Wichary

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

608

Abstract

and delimiters</a>, nicely grouping the digits together.</p><p id="25c0">Just this week, Gianni built a custom Soy function and added them to the stats page, and then we did the same to the post publish screen, and recommend milestone emails:</p><figure id="f8d5"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*BNNWr37qdIjiRWO3mIc2YQ.gif"><figcaption></figcaption></figure><figure id="57b0"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*eALjmmseEGDWZ20zZAFd6g.gif"><figcaption></figcaption></figure><figure id="d8a9"><img src="https://cdn-images-1.readmedium.com/v2/res

Options

ize:fit:800/1*UZxDfZ5M7LPux9s1180sVQ.gif"><figcaption></figcaption></figure><p id="8d3b">…which is the best thing ever.</p><p id="3e82">And it requires simply turning <i>{value} </i>into <i>{value|thousandSeparator}.</i></p><p id="646b" type="7">Any number we show that’s not fuzzy (e.g. 1.5K or 3M) should have thousand delimiters. If you see one that doesn’t… please let me know, or file an issue and CC me/Gianni!</p><p id="e372">Thank you in advance! (And please do the same if you see something anywhere that’s <a href="https://readmedium.com/11b39da146f3">not sentence cased</a>.)</p></article></body>

This was originally published on Hatch (Medium for Medium employees) on September 25, 2014. See Hatching Inside Medium for context on this collection.

Would you rather have

$100000000000

or

$100,000,000,000?

Clearly the latter, right? Even though the numbers are exactly the same, the second one looks so much more enticing.

The secret? Thousand delimiters, nicely grouping the digits together.

Just this week, Gianni built a custom Soy function and added them to the stats page, and then we did the same to the post publish screen, and recommend milestone emails:

…which is the best thing ever.

And it requires simply turning {$value} into {$value|thousandSeparator}.

Any number we show that’s not fuzzy (e.g. 1.5K or 3M) should have thousand delimiters. If you see one that doesn’t… please let me know, or file an issue and CC me/Gianni!

Thank you in advance! (And please do the same if you see something anywhere that’s not sentence cased.)

Typography
Medium
Recommended from ReadMedium