aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/MainPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainPage.js b/src/MainPage.js
index c7e0721..1657bec 100644
--- a/src/MainPage.js
+++ b/src/MainPage.js
@@ -121,7 +121,7 @@ const MainPage = (props) => {
<Card
name="Positive Test Rate"
latest={positiveTestRate + "%"}
- diff={positiveTestRate - priorPositiveTestRate + "%"}
+ diff={(positiveTestRate - priorPositiveTestRate).toFixed(1) + "%"}
link="/positivetests"
/>
</div>