Actually Additions

Actually Additions

66M Downloads

Item tooltips do not have digit separators for large numbers

mezz opened this issue ยท 3 comments

commented

Numbers like 10000000 should be formatted with digit separators to make them easier to read, like 10,000,000 or 10.000.000 depending on locale.

commented

Separators help with questions like "about how much is this?":
1000200040
Is it over 100 million, 1 billion, 10 billion, 100 billion?

It's a lot easier to see the magnitude when you have separators:
1,000,200,040

commented

Should they?
Is there an easy way?

commented

I think you can just use NumberFormat.getInstance().format(long) and it will use the current default locale automatically.