import transaction from qif file
This commit is contained in:
@@ -140,6 +140,9 @@ func ParseAmount(amount string) (int64, error) {
|
||||
if amount[0] == '-' {
|
||||
amount = amount[1:]
|
||||
sign = -1
|
||||
} else if amount[0] == '+' {
|
||||
amount = amount[1:]
|
||||
sign = 1
|
||||
}
|
||||
|
||||
if len(amount) < 1 {
|
||||
|
||||
Reference in New Issue
Block a user