minor fixes
This commit is contained in:
parent
78091684e2
commit
d07d5dfa91
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ There are two ways to do so:
|
|||
|
||||
1. Multiply-and-divide.
|
||||
|
||||
For example, to round the number to the 2nd digit after the decimal, we can multiply the number by `100` (or a bigger power of 10), call the rounding function and then divide it back.
|
||||
For example, to round the number to the 2nd digit after the decimal, we can multiply the number by `100`, call the rounding function and then divide it back.
|
||||
```js run
|
||||
let num = 1.23456;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue