This is the code that I have in my application to display a number:
Now, this is coming over from a database and when it shows up on the web page, it is padded with 6 decimal places. 12 shows up as 12.000000 and 6.5 shows up as 6.500000. How can I format this in coldfusion to display only 2 decimals?
Code:
<td valign="top">
<font face="Verdana, Arial, Helvetica" size="2">
<div>#qryworkorderlines.Quantity#</div></font>
</td>
Now, this is coming over from a database and when it shows up on the web page, it is padded with 6 decimal places. 12 shows up as 12.000000 and 6.5 shows up as 6.500000. How can I format this in coldfusion to display only 2 decimals?