fix float error

This commit is contained in:
Minecon724 2024-08-14 13:34:20 +02:00
commit 1d8979a436
No known key found for this signature in database
GPG key ID: 3CCC4D267742C8E8

View file

@ -277,7 +277,7 @@ fun TransactionDialog(
}
TextButton(
onClick = {
onConfirm(label, (value.toFloat() * 100).toInt())
onConfirm(label, (value.toDouble() * 100).toInt())
}
) {
Text("Create transaction")