Showing
1 changed file
with
4 additions
and
0 deletions
@@ -524,6 +524,10 @@ def mult_and_round(*args, **kwargs): | @@ -524,6 +524,10 @@ def mult_and_round(*args, **kwargs): | ||
524 | return round(reduce(operator.mul, args), kwargs.get('precision', 2)) | 524 | return round(reduce(operator.mul, args), kwargs.get('precision', 2)) |
525 | 525 | ||
526 | 526 | ||
527 | +def add_and_round(args, kwargs): | ||
528 | + return float( args + kwargs ) | ||
529 | + | ||
530 | + | ||
527 | def generate_test_bid_data_second_stage(tender_data, index='0'): | 531 | def generate_test_bid_data_second_stage(tender_data, index='0'): |
528 | bid = test_bid_data() | 532 | bid = test_bid_data() |
529 | if index.isdigit(): | 533 | if index.isdigit(): |
Please
register
or
login
to post a comment