From b22519b24cd12a48be41e91546d25f2e62f997c0 Mon Sep 17 00:00:00 2001 From: Brett Edwards Date: Fri, 16 Feb 2024 12:01:45 -0800 Subject: [PATCH] format --- web/src/features/moreCast2/components/GridComponentRenderer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/features/moreCast2/components/GridComponentRenderer.tsx b/web/src/features/moreCast2/components/GridComponentRenderer.tsx index 89a326925..bb2a0cac6 100644 --- a/web/src/features/moreCast2/components/GridComponentRenderer.tsx +++ b/web/src/features/moreCast2/components/GridComponentRenderer.tsx @@ -89,7 +89,7 @@ export class GridComponentRenderer { // we can leave it blank, so it's obvious that it can have a value entered into it. if (isNaN(value) && !isPreviousDate && isForecastColumn && !rowContainsActual) { return '' - } else return isNaN(value) ? noDataField : value + } else return isNaN(value) ? noDataField : Number(value).toFixed(precision) } public renderForecastCellWith = (params: Pick, field: string) => {