display a float in a fixed-width string