multiplyDivide
def multiplyDivide {value, target, isMultiply, nullDefVal}
Returns a new value calculated by multiplying or dividing the input value by the target value.
Parameter
Description
value
Original input value.
target
Target value by which to multiply or divide the original input value.
isMultiply
Specifies whether to multiply or divide the original value by the target value. Accept the default of true to multiply, or specify false to divide.
nullDefVal
Default value is null, or exception for invalid input.
For more information:
concat
Was this helpful?