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
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
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Nov 25, 2014, 11:20 AM EST
So try:
NelRank #2,060 · 702 reputationPosted Nov 25, 2014, 12:38 PM EST