In addition to using L10NManager's format Shai mentioned above, I have a method to maintain a fixed number of decimal places:
<script src="https://gist.github.com/diamondobama/0db1f0c5137129294fdc9254072a77ec.js"></script> On Thursday, October 8, 2020 at 4:03:43 AM UTC+2 Shai Almog wrote: > Hi, > check out the L10NManager's format methods. > On Thursday, October 8, 2020 at 12:14:20 AM UTC+3 [email protected] wrote: > >> Hi, >> >> How can I display 5345.24 as "5,345.24". >> >> Thanks >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f638aef1-326e-49e9-8e1d-80628873731fn%40googlegroups.com.
