Results 1 to 4 of 4
Aug 22, 2011, 11:08 #1
- Join Date
- Oct 2009
- A city equidistant from two coasts of India.
- 0 Post(s)
- 0 Thread(s)
Converting to two decimal places.
I have following C# code:
Total = SubTotal - (SubTotal*ColumnPercent/100);
All the value are initially declared as "Decimal". I want the Total to store values with two decimal places.
For example, if the calculated value comes out to be: 2155.33333, Total must store: 2155.33