fix representation of doubles in formatted message fields. #678