When I'm trying to calculate a discount price, it returns 0 which is wrong. The total is 100 and the percentage discount is 10%. I am sure about this formula, but it's keep returning 0.
My c# code :
protected void TxtDiscountPER_TextChanged(object sender, EventArgs e)
{
TxtDiscountAMT.Text = Convert.ToString(((Convert.ToInt16(TxtDiscountPER.Text)) / 100) * (Convert.ToInt16(TxtTotalAmt.Text)));
}