From d4aed38d6d7e522b6b437b426c6ec7ae3403cee1 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 19 Apr 2022 21:59:31 +0300 Subject: [PATCH] Correct rounding in reports --- lib/ui/reports/reports_screen.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ui/reports/reports_screen.dart b/lib/ui/reports/reports_screen.dart index 89f87880c..0795b0baa 100644 --- a/lib/ui/reports/reports_screen.dart +++ b/lib/ui/reports/reports_screen.dart @@ -1609,7 +1609,8 @@ class ReportNumberValue extends ReportElement { } return formatNumber(value, context, - currencyId: currencyId, formatNumberType: formatNumberType); + currencyId: currencyId, + formatNumberType: formatNumberType ?? FormatNumberType.money); } }