simulator/src/main/java/com/hazelcast/simulator/utils/FormatUtils.java
public static String formatPercentage(long value, long baseValue) {
        double percentage = (baseValue > 0 ? (ONE_HUNDRED * value) / baseValue : 0);
        return formatDouble(percentage, PERCENTAGE_FORMAT_LENGTH);
    }
public static String formatPercentage(long value, long baseValue) {
        double percentage = (baseValue > 0 ? (ONE_HUNDRED * value) / baseValue : 0);
        return formatDouble(percentage, PERCENTAGE_FORMAT_LENGTH);
    }
public static String formatPercentage ( long value , long baseValue ) { double percentage = ( baseValue > 0 ? ( ONE_HUNDRED * value ) / baseValue : 0 ) ; return formatDouble ( percentage , PERCENTAGE_FORMAT_LENGTH ) ; }
Formats a percentage of two numbers and adds padding to the left.

@param value     the value of the percentage
@param baseValue the base value of the percentage
@return the formatted percentage
Formats a percentage of two numbers and adds padding to the left .