home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1999 April / APC443.iso / features / grpware / coldfus / coldfusi.exe / data1.cab / Documentation / snippets / abs.cfm next >
Encoding:
Text File  |  1998-10-08  |  412 b   |  26 lines

  1. <!--- This example shows how to use the ABS function --->
  2.  
  3. <HTML>
  4.  
  5. <HEAD>
  6.  
  7. <TITLE>
  8. Abs Example
  9. </TITLE>
  10.  
  11. </HEAD>
  12.  
  13. <BODY bgcolor=silver>
  14.  
  15. <H3>Abs Example</H3>
  16.  
  17. <P>The absolute value of the following numbers:
  18. 1,3,-4,-3.2,6 is <CFOUTPUT>#Abs(1)#,#Abs(3)#,#Abs(-4)#,#Abs(-3.2)#,#Abs(6)#</CFOUTPUT>
  19.  
  20. <P>The absolute value of a number is the number without its sign.
  21.  
  22.  
  23. </BODY>
  24.  
  25. </HTML>       
  26.