我试图调整数字的点数(我真的不知道如何解释它以便证明它)
static void Main()
{
WebRequest Req;
WebResponse Res;
Req = HttpWebRequest.Create("http://download.skype.com/0dce4e856bdf8239787df5c367298d54/partner/59/SkypeSetupFull.exe");
Res = Req.GetResponse();
double fileSize = Res.ContentLength * 100 / 1024;
// Console.WriteLine((fileSize)e-5); - Not Possible
Console.WriteLine(4405559e-5);
Console.ReadLine();
}
我试图将文件大小(假设4405559)发送到44.05559,任何想法我怎么做?
答案 0 :(得分:3)
看来你正在寻找师:
Console.WriteLine(fileSize / 10000.0);