summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc
index 080ba433..e4eef741 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -196,6 +196,11 @@ value_t report_t::fn_rounded(call_scope_t& args)
return args.value().rounded();
}
+value_t report_t::fn_unrounded(call_scope_t& args)
+{
+ return args.value().unrounded();
+}
+
value_t report_t::fn_quantity(call_scope_t& scope)
{
interactive_t args(scope, "a");
@@ -606,7 +611,6 @@ option_t<report_t> * report_t::lookup_option(const char * p)
OPT_CH(amount_);
else OPT(tail_);
else OPT(total_);
- else OPT(totals);
else OPT(total_data);
else OPT(truncate_);
else OPT(total_width_);
@@ -859,6 +863,8 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
case 'u':
if (is_eq(p, "underline"))
return WRAP_FUNCTOR(fn_underline);
+ else if (is_eq(p, "unrounded"))
+ return MAKE_FUNCTOR(report_t::fn_unrounded);
break;
case 'w':