Modify

#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, on Dec 26, 2010 at 4:27:35 PM

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, on Dec 26, 2010 at 4:50:56 PM

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, on Feb 24, 2011 at 9:43:23 PM

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

comment:4 by Jon, on May 22, 2011 at 7:48:00 PM

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.