Skip to content

Commit

Permalink
Merge pull request #17854 from jeclrsg/hpcc-30394-increase-cost-preci…
Browse files Browse the repository at this point in the history
…sion

HPCC-30394 ECL Watch increase decimal precision of any Cost fields

Reviewed-by: Gordon Smith <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Oct 5, 2023
2 parents 5b3d394 + 1a5522a commit 882a1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/src/src/Session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 882a1f8

Please sign in to comment.