List of utility methods to do Double to String Convert
String | doubleToText(final double d) double To Text final int hours = Double.valueOf(d).intValue(); final int minutes = Double.valueOf(d * 10 - hours * 10).intValue() * 6; final String hoursWord = getHoursWord(hours); final String minutesWord = getMinutessWord(minutes); return hours + " " + hoursWord + ", " + minutes + " " + minutesWord; |