-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Looks like we CAN NOT emit the proper numbers into Serde.
If, for example, (from 2090.5 * 8.61) we're getting 17999.204999999998 instead of 17999.205, we have no way to serialize the number properly into a {"field": 17999.205}.
cf. serde-rs/serde#2326
A workaround might be to serialize a placeholder instead, say, {"field": "CUSTOM> 17999.205 <CUSTOM"}, then post-process the serialized string, replacing "CUSTOM> 17999.205 <CUSTOM" with 17999.205.
https://app.bountysource.com/issues/115436299-workaround-lack-of-numbers-in-serde
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels