Round VAT percent to 2 decimal places
This commit is contained in:
		
					parent
					
						
							
								27ee5ca5ac
							
						
					
				
			
			
				commit
				
					
						8929a26714
					
				
			
		
					 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)
 | 
			
		||||
    }
 | 
			
		||||
    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):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue