[Backlogmanager] [FIWARE-JIRA] (HELP-14562) [fiware-stackoverflow] Fiware timestamp avoid numeric rounding

Veronika Vlnkova (JIRA) jira-help-desk at jira.fiware.org
Tue Aug 28 17:24:00 CEST 2018


     [ https://jira.fiware.org/browse/HELP-14562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Veronika Vlnkova reassigned HELP-14562:
---------------------------------------

    Assignee: Jose Manuel Cantera

> [fiware-stackoverflow] Fiware timestamp avoid numeric rounding
> --------------------------------------------------------------
>
>                 Key: HELP-14562
>                 URL: https://jira.fiware.org/browse/HELP-14562
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Jose Manuel Cantera
>              Labels: fiware, fiware-orion
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy