mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-07 04:53:11 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -270,11 +270,11 @@ public class Util
|
||||||
}
|
}
|
||||||
return isBlockAboveAir(world, x, y, z);
|
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)
|
public static String formatCurrency(double value)
|
||||||
{
|
{
|
||||||
return Util.format("currency", value);
|
return "$"+df.format(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static double roundDouble(double d)
|
public static double roundDouble(double d)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue