Listing.price is a string rather than float

4 views
Skip to first unread message

Daniel Dickison

unread,
May 14, 2010, 10:42:46 AM5/14/10
to etsy-...@googlegroups.com
The doc says Listing.price is a float, but it's being encoded as a JSON string instead. Bug or feature? (I can see this going either way since a string representation would avoid floating-point precision problems.)

Justin Sheckler

unread,
May 14, 2010, 1:32:57 PM5/14/10
to Etsy API V2
We're going to standardize on strings for float values, to avoid
precision errors. This should have been documented (we'll add a
section about data types soon.)
Reply all
Reply to author
Forward
0 new messages