Decrements the integer part of a number.
Integer part of number, decremented by one.
DecrementValue(number
)
Parameter |
Description |
---|---|
number |
Number to decrement |
<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>