diff --git a/ui/fints4kBankingClient/src/main/kotlin/net/dankito/banking/extensions/AmountExtensions.kt b/ui/fints4kBankingClient/src/main/kotlin/net/dankito/banking/extensions/AmountExtensions.kt index 9e7d2f35..61c2a180 100644 --- a/ui/fints4kBankingClient/src/main/kotlin/net/dankito/banking/extensions/AmountExtensions.kt +++ b/ui/fints4kBankingClient/src/main/kotlin/net/dankito/banking/extensions/AmountExtensions.kt @@ -14,7 +14,7 @@ fun BigDecimal.toMoney(): Money { } fun Amount.toJavaBigDecimal(): BigDecimal { - return BigDecimal(this.string) + return BigDecimal(this.string.replace(',', '.')) } fun Money.toJavaBigDecimal(): BigDecimal {