Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all articles
Browse latest Browse all 6243

How can i divide values in a query output?

$
0
0

I have this code:

<cfoutput query="GetResults">  <tr>  <td nowrap="nowrap">#csedept_name#</td>  <td nowrap="nowrap">#question_1#</td>  <td nowrap="nowrap">#question_2#</td>  <td nowrap="nowrap">#question_3#</td>  <td nowrap="nowrap">#question_4#</td>  <td nowrap="nowrap">#question_5#</td>  <td nowrap="nowrap">(#question_1#/#question_2#)</td>  </tr>

In line 9 I dont get the answert i would like i actually get the value of question_1 and question_2 , something like (5/4). How would i get it to show 1.25?


Viewing all articles
Browse latest Browse all 6243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>