use RESULT_FORMAT macro