Validates the string passed by parsing it as int and checking if it is inside the bounds specified then the resulting int will be incremented/decremented
|
Parameters |
Description |
|
num |
The string to parse as int and increment/decrement |
|
minValue |
The min value for the bound checking |
|
maxVal |
The max value for the bounds checking |
|
increment |
Pass true to increment and false to decrement |
Returns the new number incremented or decremeneted
Doc-O-Matic.|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2017. All rights reserved.
|