I am using .NET and am having trouble formatting a double variable to the console window with two decimal places. I don't need to round the numbers because all of the values are no more than two decimal places long (ie 1.5, 1.55, 1)
I tried using the old way with "cout" with no luck. Please tell me how to do this in the .NET environment. Thanks in advance.
Cory
I tried using the old way with "cout" with no luck. Please tell me how to do this in the .NET environment. Thanks in advance.
Cory