Merge pull request #1233

86746a1 Number comparison should be float
This commit is contained in:
luigi1111 2018-03-31 14:30:59 -05:00
commit be0b04c54e
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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;
}