1)                   {                       floatb=a%1;                       floatc=a-b;                       if(b<=0.5)                       {                           doubleres;                           if(b==0)                           {                               res=(c-1)*2530;                               label3.Text=res.ToString();                           }                           else                           {                               res=(c-1)*253012.5;                               label3.Text=res.ToString();                           }                       }                       elseif(b>0.5)                       {                           doubleres;                           res=c*2530;                           label3.Text=res.ToString();                       }                   }                   break;-IMDN开发者社群-imdn.cn"> 1)                   {                       floatb=a%1;                       floatc=a-b;                       if(b<=0.5)                       {                           doubleres;                           if(b==0)                           {                               res=(c-1)*2530;                               label3.Text=res.ToString();                           }                           else                           {                               res=(c-1)*253012.5;                               label3.Text=res.ToString();                           }                       }                       elseif(b>0.5)                       {                           doubleres;                           res=c*2530;                           label3.Text=res.ToString();                       }                   }                   break; - IMDN开发者社群-imdn.cn">
登录
首页 » C# » C# 快递费用计算软件 源码

C# 快递费用计算软件 源码

于 2014-09-10 发布
0 87
下载积分: 1 下载次数: 0

代码说明:

     switch (aa)            {                case "香港":                    float a;                    a = float.Parse(textBox1.Text);                    // textBox1.Text = a.ToString();                    if (a 1)                    {                        float b = a % 1;                        float c = a - b;                        if (b 0.5)                        {                            double res;                            res = c * 25 30;                            label3.Text = res.ToString();                        }                    }                     break;

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104269会员总数
  • 31今日下载