From 54991cc22e51733bfeadb1fdd8b3001b06df4d74 Mon Sep 17 00:00:00 2001 From: Oleg Bulatov Date: Thu, 5 May 2022 08:11:05 +0200 Subject: Fix unrounding for equity --- src/filters.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/filters.cc') diff --git a/src/filters.cc b/src/filters.cc index 6db8af80..7f615785 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -1106,6 +1106,8 @@ void posts_as_equity::report_subtotal() value_t total = 0L; foreach (values_map::value_type& pair, values) { value_t value(pair.second.value.strip_annotations(report.what_to_keep())); + if (unround) + value.in_place_unround(); if (! value.is_zero()) { if (value.is_balance()) { value.as_balance_lval().map_sorted_amounts -- cgit v1.2.3