Fix pre-tax unit market price loss of precision
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 14 Jan 2013 19:52:04 +0000 (20:52 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 8 May 2013 04:57:55 +0000 (06:57 +0200)
commit9c78e724abec8a162bc71c92cb44c9eebf0fc010
treef6b7a945a97c9339ed3edb2154c355f36ccf2609
parent5f46ced826801d12381c6d82135869c253ab764d
Fix pre-tax unit market price loss of precision

check_trade() converts the price to float, which can lose precision,
although only for ridiculously high prices.  Has been broken since
4.0.0 introduced the market.

Avoid the conversion.  Bulletins now show pre-tax price as $N instead
of $N.00.
src/lib/commands/trad.c