Add convert flag to control number style in format function