There are unnecessary braces in the code of Stopwatch example (arduino.cc/en/Tutorial/Stopwatch).
// pad in leading zeros - wouldn't it be nice if
// Arduino language had a flag for this?
if (fractional == 0){
Serial.print("000"); // add three zero's
else if (fractional < 10) // if fractional < 10 the 0 is ignored giving a wrong time, so add the zeros
Serial.print("00"); // add two zeros
else if (fractional < 100)
Serial.print("0"); // add one zero
}
Serial.println(fractional); // print fractional part of time