I know the number_format function in php. I need something similar in kotlin. I found the java class NumberFormat, and it doesn't do what I need. DecimalFormat won't do it either. I also found this answered question about the number format, but it crashes when I use "0+000,00" or "#+###,##" as the format pattern.
I need to format numbers as 275+756,24.
in php I can use number_format(275756.24,2,",","+")
Is there a similar function in kotlin?
Greetings from Paraguay.
Claudio Bogado Pompa.