Here you can find the source of getFormat()
private static NumberFormat getFormat()
//package com.java2s; //License from project: Apache License import java.text.DecimalFormat; import java.text.NumberFormat; public class Main { private static NumberFormat getFormat() { return new DecimalFormat("#0.00000##########################"); }//from ww w . ja v a 2s .c om }