Showing posts with label string to decimal in C#. Show all posts
Showing posts with label string to decimal in C#. Show all posts
Thursday, February 25, 2010
Convert string to Decimal in C#
(Convert.ToInt32(clm.OutOfPocketAmount) >= 0 ? (Double.Parse((clm.OutOfPocketAmount.ToString().Substring(1))) / 100).ToString("F2") : clm.OutOfPocketAmount.ToString().Substring(0, 1) + (Double.Parse((clm.OutOfPocketAmount.ToString().Substring(1))) / 100).ToString("F2"))
Subscribe to:
Posts (Atom)