-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.js
More file actions
45 lines (42 loc) · 1.12 KB
/
test.js
File metadata and controls
45 lines (42 loc) · 1.12 KB
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
[
[
{ left: "0%", width: "20%", top: "0%", height: "50%", containLabel: true },
{ left: "20%", width: "20%", top: "0%", height: "50%", containLabel: true },
{ left: "40%", width: "20%", top: "0%", height: "50%", containLabel: true },
{ left: "60%", width: "20%", top: "0%", height: "50%", containLabel: true },
{ left: "80%", width: "20%", top: "0%", height: "50%", containLabel: true },
],
[
{ left: "0%", width: "20%", top: "50%", height: "50%", containLabel: true },
{
left: "20%",
width: "20%",
top: "50%",
height: "50%",
containLabel: true,
},
{
left: "40%",
width: "20%",
top: "50%",
height: "50%",
containLabel: true,
},
{
left: "60%",
width: "20%",
top: "50%",
height: "50%",
containLabel: true,
},
{
left: "80%",
width: "20%",
top: "50%",
height: "50%",
containLabel: true,
},
],
];
Math.ceil(21 / 5) = 5 21 % 5=1 21 19 18 17 16
Math.ceil(88 / 3) = 30 88 % 3=1 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59