Algorithm Test - Format Integer