DecrementValue

Returns integer part of number decremented by one.

See also IncrementValue.

Syntax

DecrementValue(number)
number

Number being decremented.

Examples

<!--- This shows the use of DecrementValue --->
<HTML>
<HEAD>
<TITLE>
DecrementValue Example
</TITLE>
</HEAD>

<BODY>
<H3>DecrementValue Example</H3>

<P>Returns the integer part of a number decremented by one.
<P>DecrementValue(0): <CFOUTPUT>#DecrementValue(0)#</CFOUTPUT>
<P>DecrementValue("1"): <CFOUTPUT>#DecrementValue("1")#</CFOUTPUT>
<P>DecrementValue(123.35): <CFOUTPUT>#DecrementValue(123.35)#</CFOUTPUT>

</BODY>
</HTML>