From 86746a1563a317a8b8acb135bdb9126529842b29 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Sat, 31 Mar 2018 16:25:11 +0200 Subject: [PATCH] Number comparison should be float --- pages/Transfer.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 01c0b1b1..d572e315 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -350,7 +350,7 @@ Rectangle { } // There are sufficient unlocked funds available - if(parseInt(amountLine.text) > parseInt(unlockedBalanceText)){ + if(parseFloat(amountLine.text) > parseFloat(unlockedBalanceText)){ return false; }