Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
brettedw committed Feb 16, 2024
1 parent b59e855 commit b22519b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<GridRenderCellParams, 'row' | 'formattedValue'>, field: string) => {
Expand Down

0 comments on commit b22519b

Please sign in to comment.