Skip to content

Commit

Permalink
fixed another float bug
Browse files Browse the repository at this point in the history
I knew there would be another
  • Loading branch information
bradjc committed Feb 25, 2016
1 parent 7bbb405 commit dee613a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chezbetty/views_public.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def paydebt_submit(request):
user = User.from_uniqname(uniqname, local_only=True)

token = request.POST['stripeToken']
amount = float(request.POST['betty_amount'])
amount = Decimal(request.POST['betty_amount'])
total_cents = int(request.POST['betty_total_cents'])

post_stripe_payment(
Expand Down

0 comments on commit dee613a

Please sign in to comment.