See the documentation here: https://docs.mendix.com/refguide8/parse-and-format-decimal-function-calls#1-introduction
This part:
If you use the following input:
formatDecimal(1234.56, '#,###.#')
Java
the output is (depending on the language settings):
Regards,
Ronald