more precision when formatting floats

fixes #102