formatDecimal function not accepting 2nd argument String

0
I want to have my decimal in a formatted string. I decided to use formatDecimal. According to the documentation I should be able to give the Decimal as an argument and then a template string as a 2nd argument to determine the formatting. But for some reason I kept getting errors. Even when I copied the example from the documentation I got an error. formatDecimal(1234.56, '#,###.#') The error I get in the expression editor is the following: ‘Invalid argument types (Decimal, String). Function formatDecimal expects argument types (Decimal).’  The project I'm working on is using 9.12.0 modeler. What am I doing wrong? Is there any setting I need to update in order to use the formatDecimal function as described in the documentation?
asked
1 answers
0

At first I thought you were doing this in a nanoflow. Aparently not. But this part of the doc tells you that it indeed will not function were you are trying it:

answered