Skip to content

Commit

Permalink
Update mathf.md
Browse files Browse the repository at this point in the history
There are two minor typos in the examples of divf and mulf
  • Loading branch information
zzhu41 committed Feb 26, 2021
1 parent 3ac42c7 commit 873670b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/mathf.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Perform integer division with `divf`
This is equivalent to `10 / 2 / 4` and will return `1.25`:

```
subf 10 2 4
divf 10 2 4
```

## mulf
Expand All @@ -43,7 +43,7 @@ Multiply with `mulf`
This will return `6`:

```
addf 1.5 2 2
mulf 1.5 2 2
```

## maxf
Expand Down Expand Up @@ -82,4 +82,4 @@ Returns the greatest float value greater than or equal to input value

Returns a float value with the remainder rounded to the given number to digits after the decimal point.

`round 123.555555` will return `123.556`
`round 123.555555` will return `123.556`

0 comments on commit 873670b

Please sign in to comment.