title: NSNumberFormatter Handling of Very High Precision Decimals Reduced from Xcode 13
body: <p>Xcode 12 and below used to be able to handle decimals with many more digits than Xcode 13. The below code on Xcode 12 &amp; 13 produces very different result:</p>
  <pre class="lang-swift prettyprint-override"><code>let formatter = NumberFormatter()
  formatter.minimumFractionDigits = 1
  formatter.maximumFractionDigits = 16
  formatter.usesGroupingSeparator = false
  
  formatter.string(from: NSDecimalNumber(string: &quot;1234567890123456.1234567890123456&quot;))
  // Xcode 12: &quot;1234567890123456.1234567890123456&quot;
  // Xcode 13: &quot;1234567890123460.0&quot;
  </code></pre>
  <p>Interestingly, switching to <code>usesSignificantDigits</code> alleviated the issue, but I'm looking for the behaviour of <code>maximumFractionDigits</code> in my feature instead.</p>
  <p>Did Apple reimplemented something that changes this behaviour? What can we do to get back the higher precision of the Xcode 12 formatter?</p>