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

Round() is mentioned in the Float ref page but neither have a ref page, nor is listed in the top Language Ref page #989

Closed
RaphTronic opened this issue Sep 13, 2024 · 1 comment
Assignees

Comments

@RaphTronic
Copy link

The ref page for float (Reference>Language>Variables>Data types>Float) mentions:

or use the round() function:
float x = 2.9;
int y = round(x)

But round() is not hyperlinked and is NOT listed in the top Language Reference list: www.arduino.cc/reference/en/

So users can't find out how round() works: round(2.01)=???, round(2.49)=???, round(2.5)=???, round(2.51)=???

@per1234 per1234 self-assigned this Sep 14, 2024
@per1234 per1234 added the bug label Sep 14, 2024
@per1234
Copy link
Collaborator

per1234 commented Sep 14, 2024

Hi @RaphTronic. Thanks for taking the time to submit an issue.

I see we have another report about this at #927.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants