but I just ran into it so I'd thought I'd share
<cfset nfactor = 2.000>
<cfoutput>"booga#nfactor#W"</cfoutput>
equals
"booga2.000W"
<cfoutput>"booga#nfactor+1#W"</cfoutput>
equals
"booga3W"
Kind of odd that it looses it's precision - but that may be by design
I suppose. You can use number format to work around it:
<cfoutput>"booga#numberFormat(nfactor+1,"99.999")#W"</cfoutput>
equals
"booga 3.000W"
This change just cropped up and I think it may have been when we moved
from 6.0 to 6.1, but I don't know for sure.
ColdFusion Server Developer 6,1,0,63958
Winders
Cheers
Rob
--
~The cfml plug-in for eclipse~
http://cfeclipse.tigris.org
~open source xslt IDE~
http://treebeard.sourceforge.net
~open source XML database~
http://ashpool.sourceforge.net
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

