fmt_dbl function

Format numerical data