Return asset precision.
For JSON serialization, same as toString().
Return a string representation of this asset, e.g. 42.000 STEEM
.
Convenience to create new Asset.
Symbol to use when created from number. Will also be used to validate the asset, throws if the passed value has a different symbol than this.
Create a new Asset instance from a string, e.g. 42.000 STEEM
.
Generated using TypeDoc
Class representing a steem asset, e.g.
1.000 STEEM
or12.112233 VESTS
.