| CFML Reference
|
|
ColdFusion Functions
|
IncrementValue
Description
Returns integer part of number incremented by one.
Category
Mathematical functions
Syntax
IncrementValue(number)
See also
DecrementValue
Parameters
| Parameter |
Description |
number
|
Number to increment
|
Example <!--- This shows the use of IncrementValue --->
<html>
<head>
<title>
IncrementValue Example
</title>
</head>
<body>
<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>
</body>
</html>
|
Copyright © 2001, Macromedia Inc. All rights reserved. |
|
|