0
Decimal problem
You know when you execute an c# program it ask you for some values but, how can I write decimal ones? I think the problem is in the Convert.To.Int.32 but I don't know. Just imagine that the code is: double xi = Convert.ToInt32(Console.Readline());
3 Antworten
+ 4
Try double xi = Double.Parse(Console.ReadLine());
+ 2
You're welcome mate, happy coding 👍
+ 1
Thank you! :)