Format numbers as millions or billions

This matches the existing performance platform page, and I think is a
bit easier to read for high-level numbers where you don’t need to see
that they’re changing second-by-second.
This commit is contained in:
Chris Hill-Scott
2021-03-11 13:23:02 +00:00
parent 646075f61f
commit c3699e0e35
4 changed files with 14 additions and 8 deletions

View File

@@ -117,10 +117,10 @@ def test_should_render_performance_page(
''
'Messages sent since May 2016 '
'Total messages '
'1789000000 total '
'1,123,000,000 emails '
'987,654,321 text messages '
'1,234,567 letters '
'1.8 billion total '
'1.1 billion emails '
'987.7 million text messages '
'1.2 million letters '
''
'Date Emails Text messages Letters '
'21 February 2021 1,234,567 123,456 123 '