diff --git a/app/src/main/java/eu/m724/coincounter/WalletActivity.kt b/app/src/main/java/eu/m724/coincounter/WalletActivity.kt index f225c7e..924287e 100644 --- a/app/src/main/java/eu/m724/coincounter/WalletActivity.kt +++ b/app/src/main/java/eu/m724/coincounter/WalletActivity.kt @@ -277,7 +277,7 @@ fun TransactionDialog( } TextButton( onClick = { - onConfirm(label, (value.toFloat() * 100).toInt()) + onConfirm(label, (value.toDouble() * 100).toInt()) } ) { Text("Create transaction")