Missing formatNumber function in Mx runtime client

0
One of our widgets are breaking with the upgrade of Mendix 5.12 to 5.15.1 due to a missing function called formatNumber. Any suggestions on what to use instead and why was it removed?
asked
1 answers
0

You will have to use the formatValue, which is the same functionality but you have to call it in a different way. I had the same problem with the currency viewer widget, and used this function as documented at https://apidocs.mendix.com/5/client/mx.parser.html. It will look something like:

mx.parser.formatValue(3000, "currency", { places: 2, groups: true });

answered