Number comparison should be float

This commit is contained in:
Sander Ferdinand 2018-03-31 16:25:11 +02:00
parent 47dc499413
commit 86746a1563

View file

@ -350,7 +350,7 @@ Rectangle {
} }
// There are sufficient unlocked funds available // There are sufficient unlocked funds available
if(parseInt(amountLine.text) > parseInt(unlockedBalanceText)){ if(parseFloat(amountLine.text) > parseFloat(unlockedBalanceText)){
return false; return false;
} }