Abstract number formatter test and output formatting