Android Utililty Methods Cadence Format

List of utility methods to do Cadence Format

Description

The list of methods to do Cadence Format are organized into topic(s).

Method

CharSequenceformatCadence(Float cadence)
format Cadence
if (cadence == null)
    return "?";
return FORMAT_CADENCE.format(cadence);
CharSequenceformatCadence(Float cadence, boolean withUnit)
format Cadence
String unit = "";
if (withUnit)
    unit = " rpm";
if (cadence == null)
    return "?" + unit;
return FORMAT_CADENCE.format(cadence) + unit;