Merge pull request #673 from pcoder/bugfix/show_correct_vat

Round VAT percent to 2 decimal places
This commit is contained in:
Pcoder 2018-10-17 07:40:22 +02:00 committed by GitHub
commit 6612a7debd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,7 +130,7 @@ def get_vm_price_with_vat(cpu, memory, ssd_size, hdd_size=0,
'amount': round(float(pricing.discount_amount), 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):