Java Utililty Methods Digit From

List of utility methods to do Digit From

Description

The list of methods to do Digit From are organized into topic(s).

Method

chartoDigit(int n)
to Digit
return (char) (n < 10 ? '0' + n : 'A' + n - 10);
StringtoDigiTime(int Zeit)
to Digi Time
String Digi;
Digi = "" + Zeit / 60 + ":"
        + ((Zeit - Zeit / 60 * 60) < 10 ? "0" + (Zeit - Zeit / 60 * 60) : (Zeit - Zeit / 60 * 60));
return Digi;