Skip to content

Commit b2452d1

Browse files
LilyFireflyariebovenberg
authored andcommitted
Clarify comparison between ceil/expand and floor/trunc
1 parent 49a9711 commit b2452d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guide/rounding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This results in the following modes:
4242
| `half_expand` | nearest increment | away from zero | 3.5→4, -3.5→-4 |n/a |
4343
| `half_even` | nearest increment | to even | 3.5→4, 4.5→4, | {func}`round` |
4444

45-
For positive values, the behavior of `ceil`/`floor` and `trunc`/`expand` is the same.
45+
For positive values, the behavior of `ceil` is identical to `expand` and the behaviour of `floor` is identical to `trunc`.
4646
The difference is only visible for negative values.
4747

4848
## Supported units

0 commit comments

Comments
 (0)