{
  "id": "fn-math-floor",
  "dataComponent": "math",
  "heading": {
    "title": "floor",
    "badges": ["Math", "JSMath"]
  },
  "synopsis": "Rounds a single numeric argument down to the nearest integer, returning a float or int.",
  "codeBlocks": [
    "extend(\"math\")\\n\\nsput( math:floor(3.99) )\\n# => 3\\n\\nsput( math:floor(-2.1) )\\n# => -3"
  ],
  "notes": [
    "One numeric argument. Returns the greatest integer ≤ x."
  ]
}
