Nel

Nel

  • NA
  • 716
  • 1.1m

How to print double type with Console.Write

Nov 25 2014 3:42 PM

Hi,

Can anybody help me how to print value of double format with Console.Write?

Here is example what I want

double Cr = 2048 / counterTotal1;


Console.WriteLine("Compression ratio: " + Cr.ToString());

which doesn't work


Thanks


Answers (2)