The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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();