mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-06 16:27:59 +01:00
Fix LinkageError
This commit is contained in:
parent
72d93657e7
commit
06a4a9180d
@ -50,13 +50,13 @@ public class PaymentData {
|
|||||||
public Double GetAmount(CurrencyType type) {
|
public Double GetAmount(CurrencyType type) {
|
||||||
if (!payments.containsKey(type))
|
if (!payments.containsKey(type))
|
||||||
return 0D;
|
return 0D;
|
||||||
return (int) (payments.get(type) * 100) / 100.0;
|
return (payments.get(type) * 100) / 100.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Double GetAmountBylimit(CurrencyType type, int limit) {
|
public Double GetAmountBylimit(CurrencyType type, int limit) {
|
||||||
if (GetAmount(type) > limit)
|
if (GetAmount(type) > limit)
|
||||||
return (double) limit;
|
return (double) limit;
|
||||||
return (int) (GetAmount(type) * 100) / 100.0;
|
return (GetAmount(type) * 100) / 100.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long GetLastAnnounced() {
|
public Long GetLastAnnounced() {
|
||||||
|
Loading…
Reference in New Issue
Block a user