+static const char * xt_double_fmt_parse(const char *str, u32 *dest, struct mempool *pool)
+{
+ uint precision = 0;
+ const char *tmp_err = str_to_uint(&precision, str, NULL, 0);
+ if(tmp_err) {
+ return mp_printf(pool, "An error occured while parsing precision: %s.", tmp_err);
+ }
+
+ *dest = XTYPE_FMT_DBL_FIXED_PREC(precision);
+
+ return NULL;
+}
+