small hud changes looks a littlie better

This commit is contained in:
Gig 2015-06-20 10:30:52 +01:00
parent 4fb6f4aca6
commit 95c57bccf0

View file

@ -118,11 +118,11 @@ public class ChargeHud
{ {
if (euValue > 1000000) { if (euValue > 1000000) {
double tenX = Math.round(euValue / 100000); double tenX = Math.round(euValue / 100000);
return Double.toString(tenX / 10.0).concat(" m EU"); return Double.toString(tenX / 10.0).concat("M ");
} }
else if (euValue > 1000) { else if (euValue > 1000) {
double tenX = Math.round(euValue / 100); double tenX = Math.round(euValue / 100);
return Double.toString(tenX / 10.0).concat(" k EU"); return Double.toString(tenX / 10.0).concat("k ");
} }
else { else {
return Double.toString(Math.floor(euValue)).concat(" EU"); return Double.toString(Math.floor(euValue)).concat(" EU");