Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelgocek committed Jun 28, 2016
1 parent b3e1c3a commit b73eef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ want to create a new deal you will call:
client = basecrm.Client(access_token='<YOUR_PERSONAL_ACCESS_TOKEN>')
deal = client.deals.create(name='Website redesign', contact_id=coffeeshop.id)
deal.value = 1000
deal.value = Decimal("1000.99")
deal.currency = 'USD'
client.deals.update(deal.id, deal)
Expand Down Expand Up @@ -263,7 +263,7 @@ It is prefered to use decimal from string or directly string for deal values whe

.. code:: python
deal.value = decimal("1000.99")
deal.value = Decimal("1000.99")
deal.value = "1000.00"
You should not be using floats or decimal constructed from floats as it may result in precision loss.
Expand Down

0 comments on commit b73eef3

Please sign in to comment.