@Test public void testFormatNumber() throws Exception { double value = 10.1234567890; String expected = "10.12"; String formattedNumber = Sentinel3Utils.formatNumber(value); Assert.assertEquals(expected, formattedNumber); }
public static String formatNumber(double value){ logger.debug("----------Input value : "+value); return String.format("%.2f",value); }
Sentinel3Utils { public static String formatNumber(double value){ logger.debug("----------Input value : "+value); return String.format("%.2f",value); } }
Sentinel3Utils { public static String formatNumber(double value){ logger.debug("----------Input value : "+value); return String.format("%.2f",value); } private  Sentinel3Utils(); }
Sentinel3Utils { public static String formatNumber(double value){ logger.debug("----------Input value : "+value); return String.format("%.2f",value); } private  Sentinel3Utils(); static String points2GML(String pointsString); static String points2JTS(String pointsString); static String formatNumber(double value); static String formatInteger(Object value); static String getTheoreticalIspCount(String ispContDup, String ispCountCorrupt, 
		   String ispCountUnsynch,  String ispCountFormatErr); static boolean isFullResolution(Object source); }
Sentinel3Utils { public static String formatNumber(double value){ logger.debug("----------Input value : "+value); return String.format("%.2f",value); } private  Sentinel3Utils(); static String points2GML(String pointsString); static String points2JTS(String pointsString); static String formatNumber(double value); static String formatInteger(Object value); static String getTheoreticalIspCount(String ispContDup, String ispCountCorrupt, 
		   String ispCountUnsynch,  String ispCountFormatErr); static boolean isFullResolution(Object source);  }