fmt_int function

Format numerical data as integer