macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: Help with DollarFormat

Subject: Re: Help with DollarFormat
From: Azadi
Date: Wed, 22 Aug 2007 13:18:02 +0700
Newsgroups: macromedia.coldfusion.cfml_general_discussion

<cfoutput>
<cfif listlast(yourvalue, ".") is "00">
$#numberformat(yourvalue, "0")#
<cfelse>
#dollarformat(yourvalue)#
</cfif>
</cfoutput>

--

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com

<Prev in Thread] Current Thread [Next in Thread>