Better fix for prices rounding

This commit is contained in:
2022-09-02 08:54:27 +02:00
committed by Len
parent 4215d18ca5
commit a4065ee41c
2 changed files with 4 additions and 1 deletions
@@ -226,4 +226,7 @@ public class ShopUtil {
return sb.toString();
}
public static double round(double price) {
return (double) Math.round(price * 100) / 100;
}
}