total and other rows number formating