Code example for NumberFormat

Methods: format

0
            result[2] = this.nullValueString;
        } 
        if (value != null) {
            double total = DataUtilities.calculateColumnTotal(dataset, column);
            double percent = value.doubleValue() / total;
            result[3] = this.percentFormat.format(percent);
        } 
 
        return result;
    } 
 
    
} 
Connect your IDE to all the code out there  Get Codota for Java