DecrementValue

Description

Decrements the integer part of a number.

Returns

Integer part of number, decremented by one.

Function syntax

DecrementValue(number)

Parameters

Parameter

Description

number

Number to decrement

Example

<h3>DecrementValue Example</h3> 
<p>Returns the integer part of a number decremented by one.</p> 
<p>DecrementValue(0):  
    <cfoutput>#DecrementValue(0)#</cfoutput></p> 
<p>DecrementValue("1"):  
    <cfoutput>#DecrementValue("1")#</cfoutput></p> 
<p>DecrementValue(123.35):  
    <cfoutput>#DecrementValue(123.35)#</cfoutput></p>