What am I missing here? I want to set a simple number format function but I
can't get the decimal in the right place, tried forcing the integer to the
left, tried dashes, single quotes around the mask, etc. Nothing works.
cfscript
VARIABLES.someVar = 350
VARIABLES.digit2 =
Hey Mark,
how about this:
cfscript
VARIABLES.someVar = 350;
VARIABLES.digit2 = VARIABLES.someVar / 1024 / 1024;
VARIABLES.ImageMaxFileSize1 = NumberFormat(VARIABLES.digit2, ,._)
mb;
writeOutput( VARIABLES.ImageMaxFileSize1 );
/cfscript
Mingo.
Mark Leder wrote:
What am I
That worked. Thanks!
Thanks,
Mark
-Original Message-
From: Mingo Hagen [mailto:[EMAIL PROTECTED]
Sent: Monday, March 06, 2006 11:01 AM
To: CF-Talk
Subject: Re: NumberFormat problem
Hey Mark,
how about this:
cfscript
VARIABLES.someVar = 350;
VARIABLES.digit2
cfscript
VARIABLES.someVar = 350;
VARIABLES.digit2 = VARIABLES.someVar / 1024 / 1024;
VARIABLES.ImageMaxFileSize1 =
NumberFormat(VARIABLES.digit2, ,._) mb;
writeOutput( VARIABLES.ImageMaxFileSize1 ); /cfscript
Wouldn't
cfscript
variables.someVar = '350';
4 matches
Mail list logo