Wednesday, May 23, 2012

How to round the value with the decimal place of 2 in C#?


The simple answer of the question is given below:

Math.Round(float.Parse("36.2568974"), 2).ToString();

No comments:

Split the String values with a special character in MS Flow to convert this into Array

 Many times we have a requirement to prepare the Mailing address for some of the documents, suppose there are Address Line1, Address Line2, ...