increment

fun increment(amount: Double)

Increments the underlying value by the given amount. Provide a negative value to decrement.

Parameters

amount

the amount to increment the counter by.