Better formatting for EMC value shown on tooltips

Large EMC values are hard to read due to the lack of commas.
Old: 123456789.312
New: 123,456,789.312

The same could also be achieved in a much simpler way buy doing simply this:

event.toolTip.add("EMC: " + String.format("%,.3f", stack.getStackSize() * emcValue.getValue())):

But that would force the decimals to always be shown:
Old: 1
New: 1.000