mul

@JvmName(name = "mulExt")
infix fun <T : Number?> KProperty<T>.mul(number: Number): Bson

Creates an update that multiplies the value of the property by the given number.

Return

the update @mongodb.driver.manual reference/operator/update/mul/ $mul

Parameters

number

the non-null number


fun <T : Number?> mul(property: KProperty<T>, number: Number): Bson

Creates an update that multiplies the value of the property by the given number.

Return

the update @mongodb.driver.manual reference/operator/update/mul/ $mul

Parameters

property

the property

number

the non-null number