Re: Fighting with NumberFormat

2001-03-20 Thread Jim McAtee
the leading spaces. NumberFormat(cost_price, "___.00") or LTrim(NumberFormat(cost_price, "___.00")) Jim - Original Message - From: "Cameron" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 9:21 PM Subject: Fightin

Re: dynamic numberformat and color in cfgrid

2001-03-09 Thread Laszlo Nadai
Laszlo Nadai wrote: I have a cfgrid on a cfquery. How can I dynamically change let's say the numberformat. In other words, for certain rows I want 2 after decimals, for other ones I want 4. Thanks, laszlo ~~ Structure your ColdFusion

Re: dynamic numberformat and color in cfgrid

2001-03-08 Thread Laszlo Nadai
Sorry for the confusing subject, I want to manipulate both the color and the format laszlo Laszlo Nadai wrote: I have a cfgrid on a cfquery. How can I dynamically change let's say the numberformat. In other words, for certain rows I want 2 after decimals, for other ones I want 4. Thanks

numberformat()

2001-01-03 Thread Barney Stevenson
Hi guys Probably a no-brainer, this one, but I can't seem to work it out: what numberformat mask should I use to output a number so that it a) has a leading zero if it is less than one and b) formats correctly if it is ten or more? I've tried: 0.99 - doesn't work for numbers of 10 or more

RE: numberformat()

2001-01-03 Thread Larry Juncker
PROTECTED]] Sent: Wednesday, January 03, 2001 11:33 AM To: CF-Talk Subject: numberformat() Hi guys Probably a no-brainer, this one, but I can't seem to work it out: what numberformat mask should I use to output a number so that it a) has a leading zero if it is less than one and b) formats

Setting NumberFormat in CFGRIDCOLUMN

2000-12-18 Thread Rosa, Issac
What is the proper syntax for setting the NumberFormat attribute in CFGRIDCOLUM? What I have is an integer field that I want to add a comma for thousands and millions. CFGRIDCOLUMN NAME="mailpieces" HEADER="Mailpieces" HEADERALIGN="LEFT" DATAALIGN=&qu

RE: Setting NumberFormat in CFGRIDCOLUMN

2000-12-18 Thread JustinMacCarthy
NumberFormat in CFGRIDCOLUMN What is the proper syntax for setting the NumberFormat attribute in CFGRIDCOLUM? What I have is an integer field that I want to add a comma for thousands and millions. CFGRIDCOLUMN NAME="mailpieces" HEADER="Mailpieces" HEADERALIGN="LEFT"

RE: NOT A MATH QUESTION, NumberFormat

2000-10-05 Thread Dan Haley
And the result isn't a number! Try this . . . cfset x1 = 0 cfloop from="1" to="20" index="i" cfset x2 = numberformat("#i#,000") cfoutputi - #x2# - #evaluate(x2 - x1)#br/cfoutput cfset x1 = x2 /cfloop It bombs on the evaluate(x2

RE: NOT A MATH QUESTION, NumberFormat

2000-10-05 Thread Dan Haley
To: CF-Talk Subject: RE: NOT A MATH QUESTION, NumberFormat Not so fast Hex 0x4000 = 16384. Octal 4000 2048. 36617 in bin = 10001001 which does not look at all like a 4000 in any numerical system. With more tests, 4,000, 4,00 4,0 and 4, return the same number. But 3,0 returns 36586

RE: NOT A MATH QUESTION, NumberFormat

2000-10-05 Thread Mark Johnson
Maybe like Al Gore Allaire is practicing "Fuzy Number Formatting". =) Mark -Original Message- From: Dan Haley [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 05, 2000 5:06 PM To: CF-Talk Subject: RE: NOT A MATH QUESTION, NumberFormat And the result isn't a nu

RE: NOT A MATH QUESTION, NumberFormat

2000-10-05 Thread Chapman, Katrina
To: CF-Talk Subject: RE: NOT A MATH QUESTION, NumberFormat Maybe like Al Gore Allaire is practicing "Fuzy Number Formatting". =) Mark -Original Message- From: Dan Haley [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 05, 2000 5:06 PM To: CF-Talk Subject: RE:

RE: NOT A MATH QUESTION, NumberFormat

2000-10-05 Thread Jaime Garza
="24" cfset j = i + 1 cfset d1= i",1" cfset d2= j",1" cfset nf=NumberFormat("#d1#") cfset nf2=NumberFormat("#d2#") cfset diff=ListGetAt(nf2,2) - ListGetAt(nf,2) #d1#==#nf# nbsp;(#diff#)br /CFLOOP /CFOUTPUT gives 1,1==36,526 (31) 2,1

RE: NOT A MATH QUESTION, NumberFormat

2000-10-05 Thread Jaime Garza
Please, somebody kill me or I'll keep doing this forever! :-) Jaime/ -Original Message- From: Dan Haley [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 05, 2000 9:18 AM To: CF-Talk Subject: RE: NOT A MATH QUESTION, NumberFormat Ahhh, I know what it is. :) Take a look at the differenc

RE: NOT A MATH QUESTION, NumberFormat

2000-10-05 Thread Dan Haley
Well, after further playing around, it sort of is. Numberformat is seeing the string "4,1" as a date. That is why you can't do "4,0", and the reason the difference between "1,1" and "2,1" is 31, etc. Numberformat is assuming that the date is

RE: NOT A MATH QUESTION, NumberFormat

2000-10-05 Thread Jaime Garza
ailto:[EMAIL PROTECTED]] Sent: Thursday, October 05, 2000 9:59 AM To: CF-Talk Subject: RE: NOT A MATH QUESTION, NumberFormat *I'm* not trying to do this. A fellow developer here at Volt is and *I'm* trying to help him find a reason why it does this. Interesting that it's not a number

RE: NOT A MATH QUESTION, NumberFormat

2000-10-05 Thread Chapman, Katrina
He actually subscribes to the list so I'm sure when the next digest comes out he'll get it. --K -Original Message- From: Jaime Garza [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 05, 2000 10:51 AM To: CF-Talk Subject: RE: NOT A MATH QUESTION, NumberFormat The "36,&q

RE: NOT A MATH QUESTION, NumberFormat

2000-10-05 Thread patrick
My hat goes off to you guys... -- Original Message -- From: Dan Haley [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 5 Oct 2000 10:39:18 -0700 Well, after further playing around, it sort of is. Numberformat is seeing the string "4,1"

NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Chapman, Katrina
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 D

Re: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Mark Adams
-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

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Chapman, Katrina
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

Re: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Mark Adams
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

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Dan Haley
I'm assuming it is 4? val("4,000") does the same thing. Dan -Original Message- From: Chapman, Katrina [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 04, 2000 3:59 PM To: CF-Talk Subject: RE: NOT A MATH QUESTION, NumberFormat Nope. -Original Message- From:

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Mark Johnson
because there is no mask I would guess it would be blank. Mark -Original Message- From: Chapman, Katrina [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 04, 2000 11:59 PM To: CF-Talk Subject: RE: NOT A MATH QUESTION, NumberFormat Nope. -Original Message- From: Mark

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Jaime Garza
I would imagine that for the sake of internalization 4,000 is the same as 4.000, so my guess is 4. Jaime/ -Original Message- From: Chapman, Katrina [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 04, 2000 3:50 PM To: CF-Talk Subject: NOT A MATH QUESTION, NumberFormat MM

Re: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Mark Adams
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? - Ori

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Chapman, Katrina
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, NumberF

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Russel Madere
Here's my guess. Since NumberFormat requires a number to be passed and Cold Fusion sees "4,000" as a string ("4000" would be a number) the result would be a WSOD, also know as a Cold Fusion error. Russel

Re: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Mark Adams
Not yet! - Original Message - From: Chapman, Katrina [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, October 04, 2000 5:01 PM 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.

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Russel Madere
. -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

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Jaime Garza
ber 04, 2000 5:01 PM 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,

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Jaime Garza
NOT A MATH QUESTION, NumberFormat 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

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Russel Madere
Wednesday, October 04, 2000 19:28 To: CF-Talk Subject: RE: NOT A MATH QUESTION, NumberFormat Not so fast Hex 0x4000 = 16384. Octal 4000 2048. 36617 in bin = 10001001 which does not look at all like a 4000 in any numerical system. With more tests, 4,000, 4,00 4,0 and 4, return the s

Re: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Richard Ramos
Administrator Softitler Net, Inc. www.softitler.com [EMAIL PROTECTED] - Original Message - From: "Jaime Garza" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, October 04, 2000 5:28 PM Subject: RE: NOT A MATH QUESTION, NumberFormat Not so fast Hex 0x4000

RE: NOT A MATH QUESTION, NumberFormat

2000-10-04 Thread Scott, Andrew
feature/bug:-) regards Andrew Scott ANZ eCommerce Centre * Ph 9273 0693 * [EMAIL PROTECTED] -Original Message- From: Russel Madere [mailto:[EMAIL PROTECTED]] Sent: 05 October 2000 11:56 To: CF-Talk Subject: RE: NOT A MATH QUESTION, NumberFormat Interesting point. But I wasn't thinking

RE: Numberformat

2000-06-27 Thread Philip Arnold - ASP
I need help with the NumberFormat function. I need to format 3 dollar sign values so that they are right aligned. The numbers vary in length for ex: $199.99 $15.99 $5.99 Is there a way to specify the number of digits to display at all times? Just to throw a spanner

Numberformat

2000-06-26 Thread LM
I need help with the NumberFormat function. I need to format 3 dollar sign values so that they are right aligned. The numbers vary in length for ex: $199.99 $15.99 $5.99 Is there a way to specify the number of digits to display at all times? Thanks for your help

RE: Numberformat

2000-06-26 Thread Bill Killillay
Take a look at the RJustify tag. It will do what you want it to. If you need some code samples please let me know. Bill -Original Message- From: LM [mailto:[EMAIL PROTECTED]] Sent: Monday, June 26, 2000 1:22 PM To: [EMAIL PROTECTED] Subject: Numberformat I need help

Re: [RE: Numberformat]

2000-06-26 Thread LM
To: [EMAIL PROTECTED] Subject: Numberformat I need help with the NumberFormat function. I need to format 3 dollar sign values so that they are right aligned. The numbers vary in length for ex: $199.99 $15.99 $5.99 Is there a way to specify the number of digits to display

RE: [RE: Numberformat]

2000-06-26 Thread Mark Warrick
] Subject: Re: [RE: Numberformat] Thanks Mark. I have tried the following format: #NumberFormat(myprice,'_$.99')# and still the numbers are not aligned. I tried also replacing the 9s with _ and it didn't do anything. Could you give me any additional assistance? Thanks "Mark Warrick&qu

RE: NumberFormat question

2000-04-29 Thread Dave Watts
Anyone know why I would get a value of 0 in an input text field when I do this against a numeric column which has a null in the database? input type="text" name="testval" value="#NumberFormat("#varname#")" ColdFusion doesn't recognize null as a val

NumberFormat question

2000-04-28 Thread Lomvardias, Christopher
Hi, Anyone know why I would get a value of 0 in an input text field when I do this against a numeric column which has a null in the database? input type="text" name="testval" value="#NumberFormat("#varname#")" Chris

RE: NumberFormat question

2000-04-28 Thread Shane Witbeck
oldFusion Discussion List Subject: NumberFormat question Hi, Anyone know why I would get a value of 0 in an input text field when I do this against a numeric column which has a null in the database? input type="text" name="testval" va

NumberFormat

2000-04-25 Thread Manam Suresh
I am having problems with NumberFormat. The #NumberFormat('.28', '.99')# is giving 2003764205190119424.00 as result. Is there any limit on the number parameter. Thanks Kumar

Re: NumberFormat

2000-04-25 Thread Fred Sanders
replace the nines after the comma with underscores. i.e: #NumberFormat('.28','___ _.__')# Oh any reason you felt the need to submit the question 5 times, or did your mail server just screw up?? - Original Message - From: "Manam S

RE: NumberFormat

2000-04-25 Thread Eberhart, Robert D
I think mail server is screwed up; I've been receiving multiple copies of messages as well. -Original Message- From: Fred Sanders [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 25, 2000 10:46 AM To: [EMAIL PROTECTED] Subject: Re: NumberFormat replace the nines after the comma

<    1   2