On Tue, 26 Oct 2004 09:30:36 +1300, Adam Cameron <[EMAIL PROTECTED]> wrote:
> Which was entirely how this *sidebar* arose in the first place.  The
> mere fact that MM document erroneous behaviour doesn't mitigate the fact
> the behaviour is wrong in the first place.

No, the behavior is not erroneous - you just have the wrong
expectation about the function. Others posting here seemed pretty
clear on the distinction, including the fact that your assertion that
int() behaved like round() was incorrect. The documentation of those
four math functions is very clear about their respective behaviors.
Could the function be better named? If it were called floor() instead
of int(), would that have changed your expectation?

> I agree that the behaviour we were actually discussing - the WDDX thing
> - *isn't* "erroneous", just "unexpected" by me

Well, this is another place where the documentation is pretty clear
about the intended behavior - which is why I initially replied with
"RTFM :)"

If the actual behavior is clearly at odds with the documented
behavior, then it's a bug - either in the product or the docs.

If you simply don't like the (documented) behavior, that's another
matter entirely... but it ain't a bug!

> 1) I concede it's just not necessary.  The current behaviour is fine;

Good.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Got Gmail? -- I have 1 invite

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to