title: How many bits of integer data can be stored in a DynamoDB attribute of type Number?
body: <p>DynamoDB's <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes.Number" rel="noreferrer"><code>Number</code></a> type supports 38 digits of decimal precision. This is not big enough to store a 128-bit integer which would require 39 digits.  The max value is 340,282,366,920,938,463,463,374,607,431,768,211,455 for unsigned 128-bit ints or 170,141,183,460,469,231,731,687,303,715,884,105,727 for signed 128-bit ints.  These are both 39-digit numbers. </p>
  
  <p>If I can't store 128 bits, then how many bits of integer data <em>can</em> I store in a <code>Number</code>?</p>