modify_fmt_fun function

Modify formatting functions