Changed getEllapsedTime() type form float to int