NAME

Finance::CoinbasePro::API::CLI::Value

DESCRIPTION

sub subtract { my ($self, $v) = @_; die "$0: can't subtract $self->{currency} and $v->{currency}\n" unless ($self->currency eq $v->currency); $self->num( $self->num - $v->num ); }

REQUIRES

Finance::CoinbasePro::API::CLI::Util::CurrencyUtil

Mouse

METHODS

add

add();

subtract

subtract();

to_str

to_str();

to_str_with_usd

to_str_with_usd();