9
Reply

Int to Decimal conversion?

Ask a question
Vignesh Kumar

Vignesh Kumar

10y
11.2k
1
Hi,

How can I convert this code so that it accepts decimal values too.

int city = Convert.ToInt32(txtCities.Text);  

Answers (9)