What are the best practices passing dollar amounts in JSON?

Viewed 5852

What are the best practices passing dollar amounts in JSON?

Passing the amounts as strings, or floats? or other?

We are a bit worried about round off errors displayed on client (iOS / Android / Web), or possibly different values displayed on one client compared to another.

4 Answers
Related