Using C#, I want to format a decimal to only display two decimal places and then I will take that decimal and subtract it to another decimal. I would like to be able to do t
You can use: Math.Round(number,2); to round a number to two decimal places.
Math.Round(number,2);
See this specific overload of Math.Round for examples.