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

Q of Q round number issue

$
0
0

Hi All,

I cannot use round function in Query of Query. I can cast the number as integer like:

<cfquery dbtype="query">

     select cast(myValue as integer) finalNumber

     from myQuery

</cfquery>

where myValue = 65.7, but the result is 65, it should be 66.

It is a work around this issue?

Thanks!


Viewing all articles
Browse latest Browse all 6243

Trending Articles



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