2 decimal places, how?  
Author Message
Shmuel





PostPosted: Top

Net Framework >> 2 decimal places, how? How do I get a value to output as 2 decimal places.

I have 3 columns Target, Actual and Varience. When I do a
Target of 4.60 an Actual of 5.20 I get a Varience of
0.600000000000001. How do I get this to be 0.60? All the
values are declard as doubles.

Thanks all,

Jon

DotNet249