mumu 0.10.0

Lava Mumu is a language for those in the now and that know
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "id": "fn-math-round",
  "dataComponent": "math",
  "heading": {
    "title": "round",
    "badges": ["Math", "JSMath"]
  },
  "synopsis": "Rounds a single numeric argument to the nearest integer (ties typically go to +∞ or to even, bridging-dependent).",
  "codeBlocks": [
    "extend(\"math\")\\n\\nsput( math:round(3.5) )\\n# => 4 or bridging depends (some may do bank rounding)\\nsput( math:round(-1.2) )\\n# => -1"
  ],
  "notes": [
    "One numeric argument. Behavior for .5 depends on your environment's bridging (it might round half up or to even)."
  ]
}