increase map value(key a, value b, map name c, skip empty d)


Increases the value of key a in a Named Map c by the value b. If d is true, the operation is only performed if the Empty Flag of value b is not set. The result is the value of b converted to the type BigDecimal.

Parameter Description

Parameter

Description

a

Key of the value.

b

The value to be added.

c

Name of the map (if no value is set here, the map default is used).

d

true, if only values b without set Empty Flag should be used. Default: false.

Example

The example entries are to be seen as called in sequence.

Parameter a

Parameter b

Parameter b empty?

Parameter c

Parameter d

Result

Value in Map

key

123

No.

mapname

123

123

key

123

No.

mapname

123

246

key

123

Yes.

mapname

123

369

key

123

Yes.

mapname

false

123

492

key

123

Yes.

mapname

true

123

492