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
Is these a normal operation, so i have to send small numbers as strings
Yeah, sorry about that. A CPU isn't really apt to deal with floating point numbers.
I often see things like 1.45 being converted to 1.44999999999999999.
Only thing I could really do about it would be to store the floating point both as a string and a floating point. Use the floating point value for comparisons and the "exact" string value for responses. But, I haven't implemented that, sorry.
Did consider it but never got down to really implement it.
I'd propose to change the "unit" - use for example microseconds instead of seconds, things like that.
I have a strange issue. I have the following json as payload:
The data (Category1 and Category2) are saved OK (as double) in the mongoDB
when i request the data from the Orion-LD i get 0 for the Category1 and 2:
Is these a normal operation, so i have to send small numbers as strings?
The text was updated successfully, but these errors were encountered: