# langref: clarify functionality of the round builtin \(\#19503\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/eb7f318ea897d51082b70c84591242735c8a2c53)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: eb7f318ea897d51082b70c84591242735c8a2c53

Requested commit: eb7f318ea897d51082b70c84591242735c8a2c53

Commit: eb7f318ea897d51082b70c84591242735c8a2c53

Tree: 3c77d9f03480a6fa5ec80cffc6ef5fa5884dbf36

Author: T

Committer: GitHub

## Message

```
langref: clarify functionality of the round builtin (#19503)

A test has also been added to demonstrate the expected behavior.

* std.math: update round doc comment to match the builtin
```

## Parents

- [b7a1ef3e19039690b182a295dff7cffe5fcc521f](https://git.cafe/gitcafe/zig/commit/b7a1ef3e19039690b182a295dff7cffe5fcc521f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/eb7f318ea897d51082b70c84591242735c8a2c53?format=markdown)
