Fix floating point conversion and printing.