2 to the power of 10

2005-02-16 Thread Tony Weeg
hola peeps! is there a udf or something else to handle this simple calculation? i can do it myself, with some dumb code, just wondering if there is something already built. later. -- tony Tony Weeg macromedia certified coldfusion mx developer email: tonyweeg [at] gmail [dot] com blog:

RE: 2 to the power of 10

2005-02-16 Thread Ian Skinner
: Wednesday, February 16, 2005 7:48 AM To: CF-Talk Subject: 2 to the power of 10 hola peeps! is there a udf or something else to handle this simple calculation? i can do it myself, with some dumb code, just wondering if there is something already built

Re: 2 to the power of 10

2005-02-16 Thread Charlie Griefer
2^10 ? On Wed, 16 Feb 2005 10:48:05 -0500, Tony Weeg [EMAIL PROTECTED] wrote: hola peeps! is there a udf or something else to handle this simple calculation? i can do it myself, with some dumb code, just wondering if there is something already built. later. -- tony Tony Weeg

Re: 2 to the power of 10

2005-02-16 Thread Greg Morphis
cfoutput#2^10#/cfoutput heh ;) On Wed, 16 Feb 2005 10:48:05 -0500, Tony Weeg [EMAIL PROTECTED] wrote: hola peeps! is there a udf or something else to handle this simple calculation? i can do it myself, with some dumb code, just wondering if there is something already built. later.

Re: 2 to the power of 10

2005-02-16 Thread Howie Hamlin
cfset x = 2^10 --- On Wednesday, February 16, 2005 10:48 AM, Tony Weeg scribed: --- hola peeps! is there a udf or something else to handle this simple calculation? i can do it myself, with some dumb code, just wondering if there is something already built. later.

Re: 2 to the power of 10

2005-02-16 Thread Stephen Moretti (cfmaster)
Tony Weeg wrote: hola peeps! is there a udf or something else to handle this simple calculation? i can do it myself, with some dumb code, just wondering if there is something already built. After all the smart alec answers ;) 2^10 is what you are after. ^ is the CF exponentiation

Re: 2 to the power of 10

2005-02-16 Thread Tony Weeg
well, either im NUTS or thats just not working for me on blackstone/cfmx7? tw On Wed, 16 Feb 2005 09:54:58 -0600, Greg Morphis [EMAIL PROTECTED] wrote: cfoutput#2^10#/cfoutput heh ;) On Wed, 16 Feb 2005 10:48:05 -0500, Tony Weeg [EMAIL PROTECTED] wrote: hola peeps! is there a udf or

Re: 2 to the power of 10

2005-02-16 Thread Tony Weeg
nevermind... :) i effed up. its all good. late. tw On Wed, 16 Feb 2005 11:05:43 -0500, Tony Weeg [EMAIL PROTECTED] wrote: well, either im NUTS or thats just not working for me on blackstone/cfmx7? tw On Wed, 16 Feb 2005 09:54:58 -0600, Greg Morphis [EMAIL PROTECTED] wrote:

Re: 2 to the power of 10

2005-02-16 Thread Charlie Griefer
could be both :) what's the exact code you've got? On Wed, 16 Feb 2005 11:05:43 -0500, Tony Weeg [EMAIL PROTECTED] wrote: well, either im NUTS or thats just not working for me on blackstone/cfmx7? tw On Wed, 16 Feb 2005 09:54:58 -0600, Greg Morphis [EMAIL PROTECTED] wrote:

Re: 2 to the power of 10

2005-02-16 Thread Greg Morphis
It's working here Tony.. cfoutput#2^10#/cfoutput gives me 1024 On Wed, 16 Feb 2005 11:05:43 -0500, Tony Weeg [EMAIL PROTECTED] wrote: well, either im NUTS or thats just not working for me on blackstone/cfmx7? tw On Wed, 16 Feb 2005 09:54:58 -0600, Greg Morphis [EMAIL PROTECTED] wrote:

Re: 2 to the power of 10

2005-02-16 Thread Stephen Moretti (cfmaster)
Stephen Moretti (cfmaster) wrote: Tony Weeg wrote: hola peeps! is there a udf or something else to handle this simple calculation? i can do it myself, with some dumb code, just wondering if there is something already built. After all the smart alec answers ;) 2^10 is what you are

Re: 2 to the power of 10

2005-02-16 Thread Tony Weeg
yeah, its fine now :) i was doing this: cfloop #2 ^ thisQuery.currentRow# /cfloop and the value of thisQuery.currentRow wasnt changing, and all i was getting was 2's i fixed the input, and the output shapened up :) and charlie... its both! On Wed, 16 Feb 2005 10:13:26 -0600, Greg Morphis