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

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: manual, Server
    • Labels:

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

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

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