Parse amounts from CSV with Decimal and not float.
authorshunyata <empty@cqdr.es>
Fri, 29 Nov 2013 20:27:59 +0000 (15:27 -0500)
committershunyata <empty@cqdr.es>
Fri, 29 Nov 2013 20:27:59 +0000 (15:27 -0500)
commitacec9c2b4313a65dca42ce106cfe442680a09201
tree29e5704ecc2d71eb3d8c6cec4a9c689d900e8e11
parent342faeeeddae30e6617e5e0c31be62175fbae5bd
Parse amounts from CSV with Decimal and not float.

This fixes a bug where amounts are read from a CSV file incorrectly due to
floating point representation error. For example, the string 0.009 will be
parsed as 0.00899999, and then converted to 899999, resulting in one fewer
satoshi being sent as part of the transaction generated from the CSV file.
gui/qt/main_window.py