Merge pull request #673 from pcoder/bugfix/show_correct_vat
Round VAT percent to 2 decimal places
This commit is contained in:
commit
6612a7debd
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ def get_vm_price_with_vat(cpu, memory, ssd_size, hdd_size=0,
|
||||||
'amount': round(float(pricing.discount_amount), 2)
|
'amount': round(float(pricing.discount_amount), 2)
|
||||||
}
|
}
|
||||||
return (round(float(price), 2), round(float(vat), 2),
|
return (round(float(price), 2), round(float(vat), 2),
|
||||||
round(float(vat_percent)), discount)
|
round(float(vat_percent), 2), discount)
|
||||||
|
|
||||||
|
|
||||||
def ping_ok(host_ipv6):
|
def ping_ok(host_ipv6):
|
||||||
|
|
Loading…
Reference in a new issue