title: Force numbers in list to two decimal places
body: <p>I have a list of numerical data read from a GIS file (.shp):</p>
  
  <p><code>dataList = [4.98, 5.09, 5.23, 5.35, 5.4, 5.59, ...]</code></p>
  
  <p>I'm looking for a method that forces numbers in this list to display to two decimal places, with output like this:</p>
  
  <p><code>dataList = [4.98, 5.09, 5.23, 5.35, 5.40, 5.59, ...]</code></p>
  
  <p>The main issue is I'm displaying each item in a separate map document in a loop with the following:
  <code>TextElement11.text = dataList[count]</code> which does not support the <code>"{:.2f}"</code> or <code>.format(5)</code> solutions I have found elsewhere.</p>
  
  <p>The items in this list are for display purposes only, so it does not matter if a solution requires a conversion e.g. to a string.</p>
  
  <p>I'm using Python 2.7.</p>