Chapter 2: ColdFusion Functions
IncrementValue
Returns integer part of number incremented by one.
See also DecrementValue.
Syntax
IncrementValue( number )
number
Number being incremented.
Examples
<!--- This shows the use of IncrementValue --->
<HTML>
<HEAD>
<TITLE>
IncrementValue Example
</TITLE>
</HEAD>
<BODY>
<H3>IncrementValue Example</H3>
<P>Returns the integer part of a number Incremented by one.
<P>IncrementValue(0): <CFOUTPUT>#IncrementValue(0)#</CFOUTPUT>
<P>IncrementValue("1"): <CFOUTPUT>#IncrementValue("1")#</CFOUTPUT>
<P>IncrementValue(123.35): <CFOUTPUT>#IncrementValue(123.35)#</CFOUTPUT>
</BODY>
</HTML>
381
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers