[Top] [All Lists]

Re: Coldfusion Multiplication Error

Subject: Re: Coldfusion Multiplication Error
From: "cf_menace"
Date: Tue, 8 Apr 2008 22:06:48 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
[q][i]Originally posted by: [b][b]jdparlin[/b][/b][/i]
 I'm guessing you replied at the same time I was clarifying my need but as you 
can see I am using percentages and I need both 3.2 and 3.7 to be 3


 Then you need floor() (java/javascript), which is int() in ColdFusion.

 <cfset foo = 3.2 />


 <cfset foo = 3.7 />


 Both evaluate to 3.

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