Name

DecrementValue

Synopsis

DecrementValue(number)

Decrements the integer part of a given number by 1. Examples:

<CFOUTPUT>
-1: #DecrementValue(-1)#<BR>
-1.123: #DecrementValue(-1.123)#<BR>
-0.123: #DecrementValue(-0.123)#<BR>
0: #DecrementValue(0)#<BR>
0.123: #DecrementValue(0.123)#<BR>
1: #DecrementValue(1)#<BR>
1.123: #DecrementValue(1.123)#
</CFOUTPUT>

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.