format: Increase abstraction of fmt_number_style.