summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6b89ba3)
Durch Tests getriggert, konkret: durch t/wh/transfer.t
my $my_base_factor = $self->base_factor || 1;
my $other_base_factor = $other_unit->base_factor || 1;
my $my_base_factor = $self->base_factor || 1;
my $other_base_factor = $other_unit->base_factor || 1;
- return $qty * $my_base_factor / $other_base_factor;
+ return ($qty // 0) * $my_base_factor / $other_base_factor;