We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6bdb6e commit b81ac28Copy full SHA for b81ac28
src/index.ts
@@ -18,7 +18,7 @@ export default class NumberColumnType {
18
cellProperties = (): RevoGrid.CellProps => ({ class: { ['align-right']: true } });
19
20
cellTemplate = (_h: RevoGrid.HyperFunc<VNode>, p: RevoGrid.ColumnDataSchemaModel): string => {
21
- const parsed = parseFloat(p.model[p.prop], 10);
+ const parsed = parseFloat(p.model[p.prop]);
22
if (isNaN(parsed)) {
23
return '';
24
}
0 commit comments