| CFML Reference
|
|
ColdFusion Functions
|
DecrementValue
Description
Returns integer part of number decremented by one.
Category
Mathematical functions
Syntax
DecrementValue(number)
See also
IncrementValue
Parameters
| Parameter |
Description |
number
|
Number to decrement
|
Example <!--- This shows the use of DecrementValue --->
<html>
<head>
<title>
DecrementValue Example
</title>
</head>
<body>
<H3>DecrementValue Example</H3>
<P>Returns the integer part of a number decremented by one.
<P>DecrementValue(0):
<cfoutput>#DecrementValue(0)#</cfoutput>
<P>DecrementValue("1"):
<cfoutput>#DecrementValue("1")#</cfoutput>
<P>DecrementValue(123.35):
<cfoutput>#DecrementValue(123.35)#</cfoutput>
</body>
</html>
|
Copyright © 2001, Macromedia Inc. All rights reserved. |
|
|