Open
Description
For example x is a double and equal to 3545.45, but after serialization, it become 3545.4500000000007. This makes trouble when I use the serialized data(xml/json) in other places.
"x": 3545.4500000000007
I found this is a 52C9 common issue for all double. Is there any way to avoid this?
I want the result is exactly like:
"x": 3545.45
Or I can control the format like printf. If I want to three decimals, it is like:
"x": 3545.450
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels