printing float numbers upto precision of 6 digits