[math.ceil]

math.ceil is a slot in the math namespace, in Hyperlambda, the language of Magic Cloud. Rounds a number up.

  • Value (number), required: Numeric value to round
  • Returns: Resolves to the rounded-up value

Guide: How to use [math.ceil]

JSON declaration

This is the complete declaration of math.ceil, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "math.ceil",
  "description": "Rounds a number up",
  "signature": {
    "input": {
      "kind": "number",
      "description": "Numeric value to round",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Value",
      "kind": "number",
      "description": "Resolves to the rounded-up value"
    }
  }
}

← math.add all math.* slots math.cos →