KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When I use the python Decimal object simply with something like: from decimal import * dec = Decimal('3.432') print dec it will print 3.432, just like I want, but if i try to put that same value dec into a json object what I get in the json is Decimal("3.432"). How can I just get the numerical value from decimal?
Tags (comma-separated)
Save Edits
Cancel