IncrementValue
Increment the integer part of a number
Method Signature
Arguments
Argument
Type
Required
Description
Default
number
numeric
true
The number to increment the integer part of.
Examples
Increment 7
Result: 8
Increment 7.5
There is a difference in the behavior of this function between engines. ACF will return the integer incremented removing the decimal part. Boxlang ( and Lucee ) will increment the integer part but return both.
Result: 8.5
Additional Examples
Related
Last updated
Was this helpful?