title: Format a string for cents only in C#
body: <p>I have a dollar amount, 23.15. I want to format it so that I can return just .15 or 15 as I want to place just the cents in an html <code>&lt;sup&gt;</code> tag.</p>
  
  <p>To return dollars only, I used <code>{0:C0}</code> or without the $ sign <code>{0:N0}</code></p>
  
  <p><strong>Edit:</strong> Apparently <code>{0:C0}</code> and <code>{0:N0}</code> will not work for me as they round to a whole number :(</p>