Description

Adds one to an integer.

Returns

The integer part of number, incremented by one.

Category

Mathematical functions

Function syntax

IncrementValue(number)

See also

DecrementValue

Parameters

Parameter

Description

number

Number to increment

Example

<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>

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy