ceiling
Round a number up to the nearest integer. Get the smallest integer greater than or equal to the input, for positive or negative numbers.
Instructions
Round a number up to the nearest integer.
Args:
data (SingleNumberOperation): An object containing the input number a.
Returns:
Dict[str, Any]: A dictionary containing the operation result or an error message.
Notes:
- Always rounds up (e.g., 3.1 -> 4, -3.1 -> -3).
- Logs the operation and result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||