Opened 14 years ago
Closed 13 years ago
#1843 closed Bug (Wont Fix)
Round(), Doc, decimalplaces, return "type"
Reported by: | mvg | Owned by: | |
---|---|---|---|
Milestone: | Component: | Documentation | |
Version: | 3.3.6.1 | Severity: | None |
Keywords: | round | Cc: |
Description
Suggestion.
Current:
Round ( expression [, decimalplaces] )
Parameters
decimalplaces: [optional] Number indicating how many places to the right of the decimal are included in the rounding. If omitted, Round returns an integer.
To more clearly indicate that when the decimalplaces parameter is used the returned value is always of type double. (zero and negative decimalplaces case use)
decimalplaces: [optional] Number indicating how many places to the right of the decimal are included in the rounding. If omitted, Round returns an integer-type variable instead of a Double-type variable.
Attachments (0)
Change History (4)
comment:1 Changed 14 years ago by GEOSoft
comment:2 Changed 14 years ago by mvg
Good point ... Will read up and think a bit more about that aspect.
(Still think the type difference should be added somewhere, remark section perhaps.)
comment:3 Changed 14 years ago by mvg
... have (tried) looking at it a view times, but I can't come up with anything.
comment:4 Changed 13 years ago by Jon
- Resolution set to Wont Fix
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
This may throw in a bit more confusion for new users since the help file also states that AutoIt is typeless.