I noticed importing ChargeHistory started failing, and this is the reason why.
These are the numbers I am getting back from the API, note the raw_value of 193549.99999999997.
This causes parsing to fail with "Number 193549.99999999997 is not representable in Swift."
I would recommend changing raw_value to a double rather than an int.
I noticed importing ChargeHistory started failing, and this is the reason why. These are the numbers I am getting back from the API, note the raw_value of 193549.99999999997.
This causes parsing to fail with "Number 193549.99999999997 is not representable in Swift."
I would recommend changing raw_value to a double rather than an int.