jomarko commented on code in PR #3032:
URL:
https://github.com/apache/incubator-kie-tools/pull/3032#discussion_r2018905555
##########
packages/feel-input-component/src/FeelConfigs.ts:
##########
@@ -1069,6 +1069,13 @@ export const feelDefaultSuggestions = ():
Monaco.languages.CompletionItem[] => {
parameters: [],
examples: ["now()"],
},
+ {
+ label: "number(from)",
+ insertText: "number($1)",
+ description: "Converts `from` to a number.",
+ parameters: [["from", "`string` representing a valid number"]],
Review Comment:
is it really a string?
looking on related backend pr
https://github.com/apache/incubator-kie-drools/pull/6289/files
```
{"number(1947)", BigDecimal.valueOf(1947), null},
```
or
```
* @param from : the input object to be converted into a BigDecimal.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]