Code example for DecimalFormat

0
 */ 
public class CallLogger extends FileLogger { 
  public static final String TIMING_DATA_FILENAME = "timingData.txt";
  public static final String TAG                  = "CallAudioStream";
 
  private DecimalFormat logFormat = new DecimalFormat("0.00");
 
  static long sequenceNumber, streamPlayheadPosition, largestHeldFrame;
  static int shiftMode, waitingFrames;
  static float desBufLvl, lateCount, lostCount, jitCount, veryLateCount;
  static float avgDelay;
 
  static int gapLengthCounts[] = new int[100];
 
  CallLogger() { 
    super( TIMING_DATA_FILENAME );
  } 
 
  private void writeLogLine() { 
    if( !Release.DELIVER_DIAGNOSTIC_DATA ) return; 
    String info = new String() +