-
Notifications
You must be signed in to change notification settings - Fork 17
/
ceil.json
62 lines (62 loc) · 1.37 KB
/
ceil.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"id": "ceil",
"summary": "Round fractions up",
"description": "The least integer greater than or equal to the number `x`.\n\nThe no-data value `null` is passed through and therefore gets propagated.",
"categories": [
"math > rounding"
],
"parameters": [
{
"name": "x",
"description": "A number to round up.",
"schema": {
"type": [
"number",
"null"
]
}
}
],
"returns": {
"description": "The number rounded up.",
"schema": {
"type": [
"integer",
"null"
]
}
},
"examples": [
{
"arguments": {
"x": 0
},
"returns": 0
},
{
"arguments": {
"x": 3.5
},
"returns": 4
},
{
"arguments": {
"x": -0.4
},
"returns": 0
},
{
"arguments": {
"x": -3.5
},
"returns": -3
}
],
"links": [
{
"rel": "about",
"href": "http://mathworld.wolfram.com/CeilingFunction.html",
"title": "Ceiling explained by Wolfram MathWorld"
}
]
}