Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:Orion
Description
Created question in FIWARE Q/A platform on 28-08-2018 at 12:08
Please, ANSWER this question AT https://stackoverflow.com/questions/52055574/fiware-timestamp-avoid-numeric-rounding
Question:
Fiware timestamp avoid numeric rounding
Description:
I am trying to save metadata of timestamp type and it automatically rounds, how can I avoid this rounding?
ex:
original post:
{
"2":{
"type":"float",
"value":25.7,
"metadata":{
"timestamp":
}
}
}
Answer Get:
"2": {
"type": "float",
"value": 25.7,
"metadata": {
"timestamp":
}
}
Round: 1535437067 to 1535440000. How can I leave it unrounded?
A greeting.
2018-08-28 15:05|CREATED monitor | # answers= 1, accepted answer= False