• ログイン今すぐ開始

Numbers, dates, and times

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.
DoDon't
1,024 KB1024 KB
Top 5 transaction tracesTop five transaction traces
2 seconds2.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 UIOn hover (wherever possible)Don't
50.2k50,20050.2 k
50.2 million50,200,00050.2m, 50.2M
50.2 billion50,200,000,00050.2G, 50.2B
50.2 trillion50,200,000,000,00050.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.

useDate optionsSample output
Basic (default)February 24, 2022
shortFeb 24, 2022
useTime optionsSample output
Basic (default)2:16 AM
DayFebruary 24 at 2:16 AM
short dayFeb 24, 2:16 AM
Accurate02:16:36.969
Long02:16:36
(Coming soon)February 24, 2022 at 2:16 AM
(Coming soon)Feb 24, 2022, 2:16 AM

Abbreviating units of time

Spell out all units wherever possible.

If space is too limited, use the following standard abbreviations:

UnitPreferredAbbreviation (when necessary)
Millisecond4 milliseconds4 ms
Seconds5 seconds5 s
Minutes6 minutes6 min
Hours7 hours7 h
Days8 days8 d
Weeks9 weeks9 wk
Months10 months10 mo
Years11 years11 yr

Decimals and fractions

  • Write fractional values in decimal form.
  • Round fractional numbers 2 decimal places to the right.
  • Include a leading 0 in decimal numbers less than 1.
DoDon't
0.92 ms.92 ms
16.23 s16.2822 s

Money

  • Omit the trailing decimal and 0s for whole dollar amounts.
  • Place the appropriate currency symbol before the dollar amount with no spaces.
  • When including currency with a price, the currency comes at the end with a space between it and the dollar amount.
DoDon't
\$32\$32.00
\$32.75---
\$14.99 USDUSD \$14.99

Percentages

  • Use the % symbol with no space between the number and symbol.
  • For fractional values in decimal form, always include a leading zero.

EXCEPTION - When pinpoint accuracy is necessary, as with Synthetics data, you can use use up to three decimal places in percentages.

DoDon't
25%25 %
0.3%.3%
(EXCEPTION) 62.356%---

Phone numbers

Separate numbers with hyphens only.

DoDon't
1-409-385-02251(409)385-0225
866-225-5262(866) 225-5262
+33-673-668+33 673-668
Copyright © 2022 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.