Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15806

[SERVER] Fix $round and $trunc docs to avoid stating that floating point input types are converted to integer output types

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • manual, Server

    Description

      According to the document (): If rounding to a whole integer value, $round returns the value as an integer. But it actually always return double 

      Attachments

        Activity

          People

            Unassigned Unassigned
            xiaochen.wu@mongodb.com Xiaochen Wu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 4 weeks, 5 days ago