From cc3ca2c71a26e0ffe124e5a0062a414345693c01 Mon Sep 17 00:00:00 2001 From: Wonkeun No Date: Mon, 24 Oct 2022 01:24:02 -0400 Subject: [PATCH] feat(formulaUtils):allow decimal for round Add a proper spacing in function description --- packages/nc-gui/utils/formulaUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/utils/formulaUtils.ts b/packages/nc-gui/utils/formulaUtils.ts index db8f7148d3..e49655338f 100644 --- a/packages/nc-gui/utils/formulaUtils.ts +++ b/packages/nc-gui/utils/formulaUtils.ts @@ -182,7 +182,7 @@ const formulas: Record = { }, description: 'Rounded number to a specified number of decimal places or the nearest integer if not specified', syntax: 'ROUND(value, precision), ROUND(value)', - examples: ['ROUND(3.1415) => 3', 'ROUND(3.1415,2) => 3.14', 'ROUND({column1}, 3)'], + examples: ['ROUND(3.1415) => 3', 'ROUND(3.1415, 2) => 3.14', 'ROUND({column1}, 3)'], }, MOD: { type: formulaTypes.NUMERIC,