From fce8b7db0d33fb02d1fdce2e4fb68e6b9dddd7ab Mon Sep 17 00:00:00 2001 From: Kat Stevens Date: Thu, 16 Jan 2025 15:26:43 +0000 Subject: [PATCH] PP-13510: Remove pence from currency formatter --- browser/src/dashboard/format.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/browser/src/dashboard/format.ts b/browser/src/dashboard/format.ts index 8050cfa7d..2446e8013 100644 --- a/browser/src/dashboard/format.ts +++ b/browser/src/dashboard/format.ts @@ -1,6 +1,8 @@ export const currencyFormatter = new Intl.NumberFormat('en-GB', { style: 'currency', - currency: 'GBP' + currency: 'GBP', + maximumFractionDigits: 0, + minimumFractionDigits: 0 }) export const numberFormatter = new Intl.NumberFormat('en-GB', {