Breaking News

LightBlog

Saturday, 23 January 2016

Discount Code In C#

Discount Coding In C#

double a = Convert.ToDouble(DropDownList1.SelectedItem.ToString());
        double b = Convert.ToDouble(2);
        double div = (b / a);
        double mi = 1 - div;
        txtcommision.Text = (mi * 100).ToString();

No comments:

Post a Comment