Fixed parsing of amount

Adding an entry no longer throws a ParseException when the integer
contains a dot.