Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mathf.md #290

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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`