These three elements form the core that drives our business. Customers rely on numerical data to gauge how well their systems are performing while dates and time provide much needed context for that information.
Basics
Write numbers as numerals regardless of where they appear in a sentence
Use commas for numbers with 4 or more digits.
If absolute numerical accuracy is less important than giving customers a sense of the number, it’s OK to round them to something like 1k (for 1,012) or 324.5 million (for 324,501,082). Use your best judgment with this one.
Never write whole numbers with a decimal place and trailing zero.
Do
Don't
1,024 KB
1024 KB
Top 5 transaction traces
Top five transaction traces
2 seconds
2.0 seconds
Large numbers
We use common American English for our UI, which creates some challenges with large numbers. International and American English conventions for thousand are the same: a lowercase k. But million, billion, and trillion are trickier because abbreviations differ across regions and industries. For this reason, we abbreviate only thousand, our most common count.
Abbreviate thousand with a lowercase k with no space between the the last number and the letter: 50k.
When dealing with larger numbers, use a space and then spell out million, billion, trillion, etc, in lowercase. If space is too tight and you have to abbreviate, use B, M, T, but only if you provide the full spelling elsewhere on the screen or chart and the full number on hover.
If possible, provide the full number on hover.
In the UI
On hover (wherever possible)
Don't
50.2k
50,200
50.2 k
50.2 million
50,200,000
50.2m, 50.2M
50.2 billion
50,200,000,000
50.2G, 50.2B
50.2 trillion
50,200,000,000,000
50.2T, 50.2 t
Date and time
We use automatic date and time formatting per browser from the standard formatter. To pull in the correct formatting, use the useDate and useTime hooks from One Core.
Note: the only deviation we make from the standard formatter is with the 24-hour clock option (accurate and long). For 12:30 AM, we use 00:30 instead of 24:30.