Ravi Sir's Cards › AWS
boto3 rejects my float?
This interview card answers: boto3 rejects my float? DynamoDB numbers need Decimal. Use Decimal("3.40"), not 3.4. Store currency next to amount.
Read card text
What this card says
What it is
DynamoDB numbers need Decimal.
Why it matters
Use Decimal("3.40"), not 3.4.
How / example
Store currency next to amount.