You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"value": 93.5 received in response from web service becomes 9.3500000000000000E+01 after deserialization. I am not using any mapping to tables/structures but "direct" access to fields via /ui2/cl_data_access=>create. Is that a known issue that could be handled?
The text was updated successfully, but these errors were encountered:
I assume it is by design. I also assume that instead of deserializing into a predefined data structure you are using GENERATE or DESERIALIZE into REF TO data. In this case, the class follows default logic for detecting the best data type for receiving structure, and everything that contains '.Ee' (93.5) will be the float (9.3500000000000000E+01). Which other type would you expect?
As said, if you need a specific type to be used for your receiving data you need to provide it as an input for deserialization.
"value": 93.5 received in response from web service becomes 9.3500000000000000E+01 after deserialization. I am not using any mapping to tables/structures but "direct" access to fields via /ui2/cl_data_access=>create. Is that a known issue that could be handled?
The text was updated successfully, but these errors were encountered: