mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-08 17:38:20 +01:00
Reverting to old way of displaying currency.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1425 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
92b34ec15f
commit
3e046d71a8
@ -270,11 +270,11 @@ public class Util
|
||||
}
|
||||
return isBlockAboveAir(world, x, y, z);
|
||||
}
|
||||
//private static DecimalFormat df = new DecimalFormat("#.00");
|
||||
private static DecimalFormat df = new DecimalFormat("#.00");
|
||||
|
||||
public static String formatCurrency(double value)
|
||||
{
|
||||
return Util.format("currency", value);
|
||||
return "$"+df.format(value);
|
||||
}
|
||||
|
||||
public static double roundDouble(double d)
|
||||
|
Loading…
Reference in New Issue
Block a user