1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-04 23:37:49 +01:00

Fix LinkageError

This commit is contained in:
montlikadani 2020-05-07 19:07:01 +02:00
parent 72d93657e7
commit 06a4a9180d

View File

@ -50,13 +50,13 @@ public class PaymentData {
public Double GetAmount(CurrencyType type) {
if (!payments.containsKey(type))
return 0D;
return (int) (payments.get(type) * 100) / 100.0;
return (payments.get(type) * 100) / 100.0;
}
public Double GetAmountBylimit(CurrencyType type, int limit) {
if (GetAmount(type) > limit)
return (double) limit;
return (int) (GetAmount(type) * 100) / 100.0;
return (GetAmount(type) * 100) / 100.0;
}
public Long GetLastAnnounced() {