From c0677fdc565c219aebb309786911f0b326965e24 Mon Sep 17 00:00:00 2001 From: Jozef Marko Date: Mon, 17 Jun 2024 16:35:25 +0200 Subject: [PATCH] =?UTF-8?q?kie-issues#1325:=20In=20FEEL=20`round`=20operat?= =?UTF-8?q?ions,=20the=20scale=20parameter=20must=20be=20in=20the=20range?= =?UTF-8?q?=20[=E2=88=926111..6176]=20(#2431)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/feel-input-component/src/FeelConfigs.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/feel-input-component/src/FeelConfigs.ts b/packages/feel-input-component/src/FeelConfigs.ts index c4b596d9bc8..5094ad1b8c3 100644 --- a/packages/feel-input-component/src/FeelConfigs.ts +++ b/packages/feel-input-component/src/FeelConfigs.ts @@ -1225,7 +1225,7 @@ export const feelDefaultSuggestions = (): Monaco.languages.CompletionItem[] => { label: "round down(n, scale)", insertText: "round down($1, $2)", description: - "Returns `n` with given `scale` and rounding mode round down. If at least one of `n` or `scale` is null, the result is null.", + "Returns `n` with given `scale` and rounding mode round down. If at least one of `n` or `scale` is null, the result is null. The `scale` must be in the range [−6111..6176].", parameters: [ ["n", `\`number\``], ["scale", `\`number\``], @@ -1241,7 +1241,7 @@ export const feelDefaultSuggestions = (): Monaco.languages.CompletionItem[] => { label: "round half down(n, scale)", insertText: "round half down($1, $2)", description: - "Returns `n` with given `scale` and rounding mode round half down. If at least one of `n` or `scale` is null, the result is null.", + "Returns `n` with given `scale` and rounding mode round half down. If at least one of `n` or `scale` is null, the result is null. The `scale` must be in the range [−6111..6176].", parameters: [ ["n", `\`number\``], ["scale", `\`number\``], @@ -1257,7 +1257,7 @@ export const feelDefaultSuggestions = (): Monaco.languages.CompletionItem[] => { label: "round half up(n, scale)", insertText: "round half up($1, $2)", description: - "Returns `n` with given `scale` and rounding mode round half up. If at least one of `n` or `scale` is null, the result is null.", + "Returns `n` with given `scale` and rounding mode round half up. If at least one of `n` or `scale` is null, the result is null. The `scale` must be in the range [−6111..6176].", parameters: [ ["n", `\`number\``], ["scale", `\`number\``], @@ -1273,7 +1273,7 @@ export const feelDefaultSuggestions = (): Monaco.languages.CompletionItem[] => { label: "round up(n, scale)", insertText: "round up($1, $2)", description: - "Returns `n` with given `scale` and rounding mode round up. If at least one of `n` or `scale` is null, the result is null.", + "Returns `n` with given `scale` and rounding mode round up. If at least one of `n` or `scale` is null, the result is null. The `scale` must be in the range [−6111..6176].", parameters: [ ["n", `\`number\``], ["scale", `\`number\``],