0005580: decimal precision for currencies is not considered in calculation (cherry picked from commit 6e48a15)
code beautifying
comment beaut