Skip to content

Commit

Permalink
kie-issues#1325: In FEEL round operations, the scale parameter must…
Browse files Browse the repository at this point in the history
… be in the range [−6111..6176] (apache#2431)
  • Loading branch information
jomarko authored Jun 17, 2024
1 parent 80c1b67 commit c0677fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/feel-input-component/src/FeelConfigs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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\``],
Expand All @@ -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\``],
Expand All @@ -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\``],
Expand All @@ -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\``],
Expand Down

0 comments on commit c0677fd

Please sign in to comment.