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

Abs (number) 

Description

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

Example

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

ACos

ACos (number) 

Description

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.