Class ReportTools


  • public class ReportTools
    extends Object
    This class provides a number of tools that may be useful to the methods which generate the different types of report
    Author:
    Richard Jones
    • Method Detail

      • numberFormat

        public static String numberFormat​(int number)
        method to take the given integer and produce a string to be used in the display of the report. Basically provides an interface for a standard NumberFormat class, but without the hassle of instantiating and localising it.
        Parameters:
        number - the integer to be formatted
        Returns:
        a string containing the formatted number