%2d outputs a decimal (integer) number that fills at least 2 character spaces, padded with empty space. %6.2f outputs a floating point number that fills at least 6 character spaces (including the decimal separator), with exactly 2 digits after the ., padded with empty space. Good for dollar and pound currency amounts.
Asteroid hurtles towards earth. Scientists were today, January 4th, 2014, warning of a possible asteroid collision with the Earth.
Residents in Nicaragua were awoken by a thudding boom hours after warnings that the 2014 RC 'pitbull' asteroid was due to skirt close to the earth. Scientists this morning now believe a small meteorite from the asteroid actually hit the wooded area near the capital Managua, leaving a crater.