Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14562

[fiware-stackoverflow] Fiware timestamp avoid numeric rounding

    Details

      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":

      { "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.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3h 1 Backlog Manager 28/Aug/18 6:05 PM
        In Progress In Progress Answered Answered
        3h 1 Backlog Manager 28/Aug/18 9:05 PM
        Answered Answered Closed Closed
        14d 11h 22m 1 Jose Manuel Cantera 12/Sep/18 8:28 AM

          People

          • Assignee:
            jmcantera Jose Manuel Cantera
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: