This is an automated email from the ASF dual-hosted git repository.
yamer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new e78fbb091c7 kie-issues#1325: ceiling, decimal and floor scale needs to
be in the … (#2434)
e78fbb091c7 is described below
commit e78fbb091c72e7e97a07f7267160e4b29f8c83ea
Author: Jozef Marko <[email protected]>
AuthorDate: Tue Jun 18 11:55:21 2024 +0200
kie-issues#1325: ceiling, decimal and floor scale needs to be in the …
(#2434)
---
packages/feel-input-component/src/FeelConfigs.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/feel-input-component/src/FeelConfigs.ts
b/packages/feel-input-component/src/FeelConfigs.ts
index 5094ad1b8c3..80429ef3001 100644
--- a/packages/feel-input-component/src/FeelConfigs.ts
+++ b/packages/feel-input-component/src/FeelConfigs.ts
@@ -271,7 +271,7 @@ export const feelDefaultSuggestions = ():
Monaco.languages.CompletionItem[] => {
label: "ceiling(n, scale)",
insertText: "ceiling($1, $2)",
description:
- "returns `n` with given scale and rounding mode ceiling. If at least
one of `n` or `scale` is null, the result is null.",
+ "Returns `n` with given scale and rounding mode ceiling. 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\``],
@@ -492,7 +492,7 @@ export const feelDefaultSuggestions = ():
Monaco.languages.CompletionItem[] => {
{
label: "decimal(n, scale)",
insertText: "decimal($1, $2)",
- description: "Returns `n` with given `scale`",
+ description: "Returns `n` with given `scale. The `scale` must be in
the range [−6111..6176].`",
parameters: [
["n", `\`number\``],
["scale", `\`number\``],
@@ -659,7 +659,7 @@ export const feelDefaultSuggestions = ():
Monaco.languages.CompletionItem[] => {
label: "floor(n, scale)",
insertText: "floor($1, $2)",
description:
- "returns `n` with given scale and rounding mode flooring. If at
least one of `n` or scale is null, the result is null.",
+ "Returns `n` with given scale and rounding mode flooring. 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\``],
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]