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:
snowleo 2011-05-11 23:12:52 +00:00
parent 92b34ec15f
commit 3e046d71a8
1 changed files with 2 additions and 2 deletions

View File

@ -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)