dhoni kholi

dhoni kholi

  • NA
  • 198
  • 42.7k

How to get Values Like 1.1023

Dec 12 2019 12:17 AM
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;
}
 

Answers (5)