From 8a29c03490d780ab3a23f552c15f2314a43f8a78 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 24 Jun 2010 20:33:52 -0400 Subject: Added "format" value expression function This function evaluates formatting strings, returning a string. For example: format("%(amount)") This is equivalent to "to_string(amount)". --- src/report.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/report.h') diff --git a/src/report.h b/src/report.h index 51e35dfa..10138551 100644 --- a/src/report.h +++ b/src/report.h @@ -151,6 +151,7 @@ public: value_t fn_is_seq(call_scope_t& scope); value_t fn_strip(call_scope_t& scope); value_t fn_trim(call_scope_t& scope); + value_t fn_format(call_scope_t& scope); value_t fn_print(call_scope_t& scope); value_t fn_scrub(call_scope_t& scope); value_t fn_quantity(call_scope_t& scope); -- cgit v1.2.3