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.
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Assignee | Jose Manuel Cantera [ jmcantera ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
HD-Enabler | Orion [ 10875 ] | |
Description |
Created question in FIWARE Q/A platform on 28-08-2018 at 12:08 {color: red}Please, ANSWER this question AT{color} 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":{ "value":1535437067, "type":"Number" } } } } Answer Get: "2": { "type": "float", "value": 25.7, "metadata": { "timestamp": { "type": "Number", "value": 1535440000 } } } Round: 1535437067 to 1535440000. How can I leave it unrounded? A greeting. |
Created question in FIWARE Q/A platform on 28-08-2018 at 12:08
{color: red}Please, ANSWER this question AT{color} 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":{ "value":1535437067, "type":"Number" } } } } Answer Get: "2": { "type": "float", "value": 25.7, "metadata": { "timestamp": { "type": "Number", "value": 1535440000 } } } Round: 1535437067 to 1535440000. How can I leave it unrounded? A greeting. |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
3h | 1 | Backlog Manager | 28/Aug/18 6:05 PM | |||||
|
3h | 1 | Backlog Manager | 28/Aug/18 9:05 PM | |||||
|
14d 11h 22m | 1 | Jose Manuel Cantera | 12/Sep/18 8:28 AM |
2018-08-28 15:05|CREATED monitor | # answers= 1, accepted answer= False