http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funct121.htm#wp11
06046

says that int():

Calculates the closest integer that is smaller than number.

Which is exactly what it does.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
> Of Adam Cameron
> Sent: Monday, October 25, 2004 3:27 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [CFCDev] Calling CFC method as URL always returns WDDX?
> 
> >int()? No , I don't remember... refresh my memory...
> 
> Really, must I?
> 
> "int()" should return the integer component of a number.  Yet last
time
> I tested, int(-4.9) would return -5.  So "int()" kind of works like
> "round()", which is a different thing.  The (your) response was "well
> it's documented to work that way, so neener neener neener" (or
something
> like that ;-)
> 
> 
> >And besides, MM have certainly implemented some of your enhancement
> requests and fixed bugs that you have submitted.
> 
> Clap clap.  They've fixed bugs.  I must arrange a parade for them.
> 
> But yeah, they've been pretty good at the enhancement requests.
> 
> 
> >> I can see how myStruct.toString() could output WDDX.
> 
> >It doesn't. Try it.
> 
> My example was pseudo code to simply give a label to the process that
> ought to be going on.  I wasn't meaning the *real* toString() Java
> method.  That should have been obvious by my mention of another
> pseduo-code notion toWDDX().
> 
> 
> >Like I say, the result format is entirely dependent on the caller and
> for a given caller, the format is always the same. Very consistent :)
> 
> You're being a bit circular there.  But if it makes you feel better,
> that's cool.
> 
> Adam
> 
> 
> (PS: tongue was in cheek for entire time I was typing the above, don't
> take it the wrong way...)
> ----------------------------------------------------------
> 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]

----------------------------------------------------------
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