Formatting Individual Data Items

You may want to format individual data items. For example, you can format the Salary field as a monetary value.

To format the Salary using the dollar format, you use the CFML expression DollarFormat(number).

Note To change the format of the Salary:
  1. Return to actionpage.cfm in Studio.
  2. Change the line <TD>#Salary#</TD> to <TD>#DollarFormat(Salary)#</TD>