Browse Source

docs(cut-corners): correct grammar

DEV-3198-new-go-exercise-get-digit-len
davhojt 2 years ago committed by Dav Hojt
parent
commit
c7a51d50a2
  1. 21
      subjects/cut-corners/README.md

21
subjects/cut-corners/README.md

@ -2,25 +2,24 @@
### Instructions ### Instructions
Create a function for each rounding math functions: Create some functions which behave like JavaScript's `Math` rounding functions:
- round (like `Math.round`) - `round`: which behaves similar to `Math.round()`.
- ceil (like `Math.ceil`) - `ceil`: which behaves similar to `Math.ceil()`.
- floor (like `Math.floor`) - `floor`: which behaves similar to `Math.floor()`.
- trunc (like `Math.trunc`) - `trunc`: which behaves similar to `Math.trunc()`.
Some restrictions apply: > Some restrictions apply:
> - You may not use strings conversion to do it
- You may not use strings conversion to do it > - No bitwise operator
- No bitwise operator
### Notions ### Notions
- [devdocs.io/javascript/global_objects/math](https://devdocs.io/javascript/global_objects/math) - [Math](https://devdocs.io/javascript/global_objects/math)
### Code provided ### Code provided
> all code provided will be added to your solution and doesn't need to be submited. > The provided code will be added to your solution, and does not need to be submitted.
```js ```js
Math.round = Math.ceil = Math.floor = Math.trunc = undefined Math.round = Math.ceil = Math.floor = Math.trunc = undefined

Loading…
Cancel
Save