Returns integer part of number decremented by one.
DecrementValue(number)
Parameter |
Description |
---|---|
number |
Number to decrement |
<!--- 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>