Appendix B. Function Reference

This appendix provides an alphabetic listing of ColdFusion (CF) functions. This reference list explains what each function does and then provides an example of how to use the function.

In some cases, the examples use preexisting files. In these cases, you will have to try to use the function on a file you have on your server. In most of these cases, any generic file of the proper type will be acceptable.


Abs (number) 


Use this function to get the absolute value of a number or a number without its sign.


The absolute value of -6 is <cfoutput>#Abs(-6)#</cfoutput> 


ACos (number) 


The arccosine is the angle whose cosine is a number in radians. The value must be between –1.0 and 1.0.

Example ...

Get Inside ColdFusion™ MX now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.