Add repr only for floats.