public static String formatDouble ( final Double amount , String pattern ) { if ( pattern == null || pattern . equals ( "" ) ) { pattern = JKFormatUtil . DEFAULT_DOUBLE_FORMAT ; } return JKFormatUtil . getNumberFormatter ( pattern ) . format ( amount ) ; }
Format double .