2
Answers

How to print double type with Console.Write

Nel

Nel

10y
604
1

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)