mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
626 B
18 lines
626 B
4 years ago
|
[
|
||
|
{
|
||
|
"description": "rounded is defined and the result of using Math.round on num",
|
||
|
"code": "let num = 2.8\n\n// Your code\n\nequal(rounded, 3)"
|
||
|
},
|
||
|
{
|
||
|
"description": "rounded is still the result of using Math.round on num",
|
||
|
"code": "let num = 2.2\n\n// Your code\n\nequal(rounded, 2)"
|
||
|
},
|
||
|
{
|
||
|
"description": "truncated is defined and the result of using Math.trunc on num",
|
||
|
"code": "let num = 2.8\n\n// Your code\n\nequal(truncated, 2)"
|
||
|
},
|
||
|
{
|
||
|
"description": "truncated is still the result of using Math.trunc on num",
|
||
|
"code": "let num = 3.2\n\n// Your code\n\nequal(truncated, 3)"
|
||
|
}
|
||
|
]
|