fix float error

This commit is contained in:
Minecon724 2024-08-14 13:34:20 +02:00
parent 59839fe8ca
commit 1d8979a436
Signed by: Minecon724
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")