Revision c841eb4f
Von Sven Schöling vor fast 9 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
951 | 951 |
|
952 | 952 |
return 0 if !defined $amount; |
953 | 953 |
|
954 |
$places //= 0; |
|
955 |
|
|
954 | 956 |
if ($adjust) { |
955 | 957 |
my $precision = $::instance_conf->get_precision || 0.01; |
956 | 958 |
return $self->round_amount( $self->round_amount($amount / $precision, 0) * $precision, $places); |
Auch abrufbar als: Unified diff
Form::round_amount: nicht initialisierte Variable $places