<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]

Reply via email to