I feel embarrassed having to ask such a basic question but can anyone tell me how to find a percentage of a numeric variable in coldfusion, or simply how to divide one numeric variable by another numeric variable?
eg
<CFSET Number1=10>
<CFSET Number2=5>
<CFSET Result=#Number1# / #Number2#>
The above code obviously doesn't work as '/' has a defined purpose in coldfusion.
eg
<CFSET Number1=10>
<CFSET Number2=5>
<CFSET Result=#Number1# / #Number2#>
The above code obviously doesn't work as '/' has a defined purpose in coldfusion.