Modify

Opened 15 years ago

Closed 15 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 by GEOSoft, 15 years ago

This may throw in a bit more confusion for new users since the help file also states that AutoIt is typeless.

comment:2 by mvg, 15 years ago

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 by mvg, 15 years ago

... have (tried) looking at it a view times, but I can't come up with anything.

comment:4 by Jon, 15 years ago

Resolution: Wont Fix
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.