These docs are for v1.3.0. Click to read the latest docs for v1.6.

operator*=

Multiplication assignment operator, with a number.

public inline asset& operator *=(int64_t a)

Multiplication assignment operator. Multiply the amount of this asset with a number and then assign the value to itself.

Parameters

  • a - The multiplier for the asset's amount

Returns

asset - Reference to this asset

Post Condition

The amount of this asset is multiplied by a