diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-11 23:12:52 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-11 23:12:52 +0000 |
commit | 3e046d71a84f6fa47b2c3312540ad8e93bf0fc2d (patch) | |
tree | 112fe3d8c4bb37f539eb40466e0524c9797c0e91 | |
parent | 92b34ec15fd1a472d9ad548ab01c01bfb83d0e31 (diff) | |
download | Essentials-3e046d71a84f6fa47b2c3312540ad8e93bf0fc2d.tar Essentials-3e046d71a84f6fa47b2c3312540ad8e93bf0fc2d.tar.gz Essentials-3e046d71a84f6fa47b2c3312540ad8e93bf0fc2d.tar.lz Essentials-3e046d71a84f6fa47b2c3312540ad8e93bf0fc2d.tar.xz Essentials-3e046d71a84f6fa47b2c3312540ad8e93bf0fc2d.zip |
Reverting to old way of displaying currency.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1425 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Util.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Util.java b/Essentials/src/com/earth2me/essentials/Util.java index 416be79ae..10aafe27c 100644 --- a/Essentials/src/com/earth2me/essentials/Util.java +++ b/Essentials/src/com/earth2me/essentials/Util.java @@ -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) |