simulator/src/main/java/com/hazelcast/simulator/utils/FormatUtils.java
public static String formatDouble(double number, int length) {
        return padLeft(format(Locale.US, "%,.2f", number), length);
    }
public static String formatDouble(double number, int length) {
        return padLeft(format(Locale.US, "%,.2f", number), length);
    }
public static String formatDouble ( double number , int length ) { return padLeft ( format ( Locale . US , "%,.2f" , number ) , length ) ; }
Formats a double number and adds padding to the left.

Very inefficient implementation, but a lot easier than to deal with the formatting API.

@param number number to format
@param length width of padding
@return formatted number
Formats a double number and adds padding to the left .