title: In Unity3D, remove all but a set amount of decimals from a number
body: <p>For a text display in Unity3D.  Wht would I do if I wanted to remove all but say 2 decimals from a float? To clarify what I want to do, please see the example below:</p>
  
  <p>Say I have the floats:</p>
  
  <p>1.25013</p>
  
  <p>1.9012</p>
  
  <p>1.029</p>
  
  <p>Now, in Unity what should I do if I want to shorten them so only two decimals remain i.e returning 1.25, 1.90 and 1.02 before displaying the string such as on a <code>UI.Text</code> ?</p>
  
  <p>I have looked into string formatting and stuff like <code>Math.Floor</code> without success.</p>