Revision 3782216a
Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt
t/helper/attr.t | ||
---|---|---|
34 | 34 |
is($o->marge_percent_as_percent('40'), '40'); |
35 | 35 |
is($o->marge_percent, 0.40); |
36 | 36 |
is($o->marge_percent_as_percent, '40'); |
37 |
is($o->marge_percent_as_percent('22,4'), '22'); |
|
37 |
is($o->marge_percent_as_percent('22,4'), '22,40');
|
|
38 | 38 |
is($o->marge_percent, 0.224); |
39 | 39 |
is($o->marge_percent_as_percent, '22'); |
40 | 40 |
is($o->marge_percent(0.231), 0.231); |
Auch abrufbar als: Unified diff
_as_percent-Helper: Zwei Nachkommastellen anzeigen