[math.floor]
math.floor is a slot in the math namespace, in Hyperlambda, the language of Magic Cloud. Rounds a number down.
- Value (
number), required: Numeric value to round - Returns: Resolves to the rounded-down value
Guide: How to use [math.floor]
JSON declaration
This is the complete declaration of math.floor, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "math.floor",
"description": "Rounds a number down",
"signature": {
"input": {
"kind": "number",
"description": "Numeric value to round",
"required": true,
"mode": "ValueOrExpression"
},
"output": {
"mode": "Value",
"kind": "number",
"description": "Resolves to the rounded-down value"
}
}
}
← math.dot |
all math.* slots |
math.increment → |