For simplicity sake, I want to store both floats and integers in the same structure element. I was wondering if I could just store everything as double. In other words, convert integers to doubles
before a save and convert the double to an integer after retrieval?