I am trying to read a json file with swift and it contains a field with 0.97.
If I tried to cast the field to a float, it would return nil, but if I were to cast it to a double, it would return the correct value. However, the only difference I could find on double and float was that double is 64-bit while float is 32-bit. I am wondering what is causing the difference.