maybe incorporate this into add_field -- if the value is a float that's really an integer, it shouldn't ever be harmful to do this conversion.