Skip to content

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 as not planned
@RaphTronic

Description

@RaphTronic

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)=???

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions