This is My code But Output is zero
private decimal gstcal()
{
decimal tax,price,cal, tcal;
tax = Convert.ToDecimal(txtFtax.Text); // Tax=5
price = Convert.ToDecimal(txtFamt.Text); // Price=20
cal = (tax / 100);
tcal = price * cal;
return tcal;
}
Amit GuptaPosted Dec 12, 2019, 12:33 AM
Ashutosh GuptaPosted Dec 12, 2019, 5:02 AM
Mageshwaran RPosted Dec 12, 2019, 3:55 AM
Piyush PansuriyaPosted Dec 12, 2019, 12:32 AM
Amit GuptaPosted Dec 12, 2019, 12:25 AM