We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 591b017 commit 0884270Copy full SHA for 0884270
samples/grids/grid/finjs/src/index.tsx
@@ -121,7 +121,7 @@ export default function FinjsSample() {
121
const rowData = gridRef.current.getRowData(cell.id.rowID);
122
const isValueUp: boolean = trends.positive(rowData);
123
const icon = isValueUp ? "trending_up" : "trending_down";
124
- const value = cell.value.toFixed(4);
+ const value = parseFloat(cell.value).toFixed(4);
125
126
return (
127
<div className={`finjs-icons ${isValueUp ? "positive" : "negative"}`}>
0 commit comments