I'll have a go at it this weekend. Its for a project I've been working on
for the past while, a web based tool that allows researchers to combine the
results of research that address a related set of questions.
As a side note to all, is there any way to generate and send an email
attachment through CFMail if CFFILE is not enabled on the server?
Thx,
larry
> -----Original Message-----
> From: Candace Cottrell [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 12, 2004 9:49 AM
> To: CF-Community
> Subject: RE: Formatting question
>
>
> Larry, I had to write a program that was for medication
> dosages in a "CODE" situation. I used a custom tag called
> zerokiller and I think it does the opposite, but you could tweak.
>
> They basically do:
>
> <CFPARAM NAME="attributes.number">
> <CFPARAM NAME="caller.stripped">
>
>
> <CFSET pointpos = REfind('[.]',attributes.number)>
> <CFIF pointpos NEQ 0>
> <CFSET newvar =
> REreplace(REreplace(attributes.number,'[0]+$', ""),'[.]+$',
> "")> <CFELSE>
> <CFSET newvar=attributes.number>
> </CFIF>
> <CFSET caller.stripped = newvar>
>
> HTH
>
>
> Candace K. Cottrell, Web Developer
> The Children's Medical Center
> One Children's Plaza
> Dayton, OH 45404
> 937-641-4293
>
> http://www.childrensdayton.org
> [EMAIL PROTECTED]
>
> "There is no right price for the wrong product, even if it is
> inexpensive and delivered on time."
>
> >>> [EMAIL PROTECTED] 3/11/2004 3:37:59 PM >>>
> Tim,
>
> Nope still gave a 0 at the start.
>
> larry
>
> > -----Original Message-----
> > From: Heald, Tim [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 11, 2004 3:30 PM
> > To: CF-Community
> > Subject: RE: Formatting question
> >
> >
> > myNumber = numberFormat(myNumber, ".__");
> >
> > That should do the trick, no?
> >
> > --
> > Timothy Heald
> > Web Portfolio Manager
> > Overseas Security Advisory Council
> > U.S. Department of State
> > 571.345.2319
> >
> > The opinions expressed here do not necessarily reflect those
> > of the U.S. Department of State or any affiliated
> > organization(s). Nor have these opinions been approved or
> > sanctioned by these organizations. This e-mail is
> > unclassified based on the definitions in E.O. 12958.
> >
> > -----Original Message-----
> > From: Lyons, Larry [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 11, 2004 3:20 PM
> > To: CF-Community
> > Subject: RE: Formatting question
> >
> >
> > Thanks Charlie, I had not thought about that approach. I
> > guess I can do that for correlations, but not for z or d
> > scores (they may go over 1.0).
> >
> > Regards,
> >
> > larry
> >
> > > -----Original Message-----
> > > From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, March 11, 2004 3:16 PM
> > > To: CF-Community
> > > Subject: Re: Formatting question
> > >
> > >
> > > <cfset myNum = "0.05">
> > > <cfoutput>.#listLast(myNum, '.')#</cfoutput>
> > >
> > > seems like there oughtta be a better way tho, no?
> > >
> > >
> > > ----- Original Message -----
> > > From: "Lyons, Larry" <[EMAIL PROTECTED]>
> > > To: "CF-Community" <[EMAIL PROTECTED]>
> > > Sent: Thursday, March 11, 2004 1:06 PM
> > > Subject: Formatting question
> > >
> > >
> > > > <cf_manditoryStatement>
> > > > Sex, Drugs, Rock and Roll, Religion, goats, sheep
> > > > </cf_manditoryStatement>
> > > >
> > > > Now that's taken care of, I have a quick question, in CF
> > how do you
> > > > format
> > > a
> > > > number like this .05 instead of 0.05?
> > > >
> > > > thx,
> > > >
> > > > larry
> > > > --
> > > > Larry C. Lyons
> > > > Web Analyst
> > > > American Type Culture Collection
> > > > email: llyons(at)atcc.org
> > > > tel: 703.365.2700.2678
> > > > --
> > > >
> > > >
> > >
> > >
> > _____
> >
> >
> >
> >
>
>
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
