title: How should I best store fixed point Decimal values in Python for cryptocurrency?
body: <p>I'm playing around with developing a Django/Python app which stores, and does calculations on, cryptocurrency values. These are decimal values to 8 decimal places, eg, 0.00000008, 4.10500008, 6000.00000000.</p>
  
  <p>Perhaps partly from not being confident fully in the nuances of how Python's Decimal works, and partly on advice I've seen for different languages, I was thinking it might be safer to store values as their satoshi equiv values in an BigInteger field, eg for 0.00000008 I store 8, for 4.10500008 I store 410500008 and for 6000.00000000 I store 600000000000.</p>
  
  <p>Is this a good idea or should I be using Decimal with some particular setting instead?</p>
  
  <p>Thanks!</p>