Whatever message this page gives is out now! Go check it out!

DecrementValue

Last update:
May 18, 2026

Description

Decrements the integer part of a number.

Returns

Integer part of number, decremented by one.

Category

Function syntax

DecrementValue(number)

See also

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>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page