From 1a5522ac2f62367b6fc60a6f6e0455e5eb4cdbd6 Mon Sep 17 00:00:00 2001 From: Jeremy Clements <79224539+jeclrsg@users.noreply.github.com> Date: Mon, 2 Oct 2023 10:25:41 -0400 Subject: [PATCH] HPCC-30394 ECL Watch increase decimal precision of any Cost fields Signed-off-by: Jeremy Clements <79224539+jeclrsg@users.noreply.github.com> --- esp/src/src/Session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp/src/src/Session.ts b/esp/src/src/Session.ts index d24351a7771..80ec6a015bb 100644 --- a/esp/src/src/Session.ts +++ b/esp/src/src/Session.ts @@ -48,7 +48,7 @@ getBuildInfo().then(info => { dojoConfig.currencyCode = info["currencyCode"] ?? ""; }); -const format = d3Format(",.2f"); +const format = d3Format(",.6f"); export function formatCost(value): string { if (isNaN(value)) { logger.debug(`formatCost called for a nullish value: ${value}`);