Better fix for prices rounding
This commit is contained in:
@@ -226,4 +226,7 @@ public class ShopUtil {
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public static double round(double price) {
|
||||
return (double) Math.round(price * 100) / 100;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user