Round price
This commit is contained in:
parent
d8a532e7b0
commit
fdffe2389b
1 changed files with 2 additions and 2 deletions
|
@ -321,7 +321,7 @@ class StripeUtils(object):
|
|||
if price is not None:
|
||||
stripe_plan_id_string_with_price = '{}-{}chf'.format(
|
||||
stripe_plan_id_string,
|
||||
price
|
||||
round(price, 2)
|
||||
)
|
||||
return stripe_plan_id_string_with_price
|
||||
else:
|
||||
|
@ -338,7 +338,7 @@ class StripeUtils(object):
|
|||
cpu=cpu,
|
||||
memory=memory,
|
||||
disk_size=disk_size,
|
||||
price=price
|
||||
price=round(price, 2)
|
||||
)
|
||||
|
||||
@handleStripeError
|
||||
|
|
Loading…
Reference in a new issue