Added method doubleToStringWithFormat: