It is the comma. I get the same result on my box.
Maybe one of the CF Gurus..... hint hint, Dave Watts or Ben Forta..... can
give us an explanation.
When I take out the comma, I get the right number. What I think is
happening is that the sting is converted into binary by the function. Then
it is formatted.
Russel
============================================================
Russel Madere, Jr. Senior Web Developer
ICQ: 5446158 http://www.TurboSquid.com
Some days you eat the bear; some days the bear eats you.
============================================================
-----Original Message-----
From: Chapman, Katrina [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 19:01
To: CF-Talk
Subject: RE: NOT A MATH QUESTION, NumberFormat
MM,
The " say's this is a string.
It comes out at, at least on my machine, 36,617. Any ideas why?
BB,
--K
> -----Original Message-----
> From: Mark Adams [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 04, 2000 4:32 PM
> To: CF-Talk
> Subject: Re: NOT A MATH QUESTION, NumberFormat
>
>
> Ok, I can't find reference to the " in NumberFormat what does that do?
>
>
> ----- Original Message -----
> From: Mark Adams <[EMAIL PROTECTED]>
> To: CF-Talk <[EMAIL PROTECTED]>
> Sent: Wednesday, October 04, 2000 3:55 PM
> Subject: Re: NOT A MATH QUESTION, NumberFormat
>
>
> > can i look now?
> >
> >
> > ----- Original Message -----
> > From: Chapman, Katrina <[EMAIL PROTECTED]>
> > To: CF-Talk <[EMAIL PROTECTED]>
> > Sent: Wednesday, October 04, 2000 3:59 PM
> > Subject: RE: NOT A MATH QUESTION, NumberFormat
> >
> >
> > > Nope.
> > >
> > > > -----Original Message-----
> > > > From: Mark Adams [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, October 04, 2000 3:44 PM
> > > > To: CF-Talk
> > > > Subject: Re: NOT A MATH QUESTION, NumberFormat
> > > >
> > > >
> > > > -4,000
> > > >
> > > > Just guessing
> > > >
> > > > -Mark :o)
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: Chapman, Katrina <[EMAIL PROTECTED]>
> > > > To: CF-Talk <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, October 04, 2000 3:49 PM
> > > > Subject: NOT A MATH QUESTION, NumberFormat
> > > >
> > > >
> > > > > MM,
> > > > >
> > > > > Here's a question for y'all. It's not math. It's cf.
> > > > >
> > > > > What will
> <cfoutput>#NumberFormat("4,000")#</cfoutput> give you?
> > > > >
> > > > > Try to answer before you test it.
> > > > >
> > > > > BB,
> > > > > --K
> > > > >
> > > > > ---------------------------------------
> > > > > Thank you,
> > > > > Katrina Chapman
> > > > > ColdFusion Web Developer
> > > > > System Development
> > > > >
> > > > >
> > > > >
> > > > >
> > > > --------------------------------------------------------------
> > > > ------------
> > > > ----
> > > > > Archives:
> http://www.mail-archive.com/[email protected]/
> > > > > To Unsubscribe visit
> > > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
> > > s/cf_talk or
> > > send a message to [EMAIL PROTECTED] with
> 'unsubscribe'
> in
> > > the body.
> > > >
> > >
> >
> >
> --------------------------------------------------------------
> ------------
> > --
> > > --
> > > Archives: http://www.mail-archive.com/[email protected]/
> > > To Unsubscribe visit
> > >
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/cf_talk
or
> > send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
> > the body.
>
> --------------------------------------------------------------------------
> ----
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> >
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.