DecrementValue()
this function is deprecated, use instead the -- operator;Decrements the current number by one
Status:
DecrementValue( number=number );
Returns: Number
| Argument | Description |
|---|---|
|
number
number,
required
|
edit
Number to decrement |
Examples
edit writeDump(decrementValue(6));//5
writeDump(decrementValue(6.5));//5.5
See also
- numeric.decrementValue()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)