0
How can i enter a floating number Input in C#?
For int or double its convert.ToInt/ToDouble(console. Readline()) but what about float ?
3 Réponses
+ 9
You can use float.Parse(Console.ReadLine())
It acts the sam way
+ 1
ToDouble
0
Thanks Michael
For int or double its convert.ToInt/ToDouble(console. Readline()) but what about float ?