+ 4
I can't use decimal numbers in int.
I can't use decimal number in integers. How can I use decimal numbers in int like 1.50, 2.40?
11 Réponses
+ 4
You can't, you have to use double or float for decimals
use this link https://www.sololearn.com/learn/CSharp/2582/
+ 3
Thanks
+ 1
This is by definition of an integer.
+ 1
Use double or float
+ 1
Use double or float
+ 1
Use double or float
+ 1
Thanks
0
Thanks Sonic and Codingwolf
0
It was dissolved but thanks Dr. Doggo
0
Decimal numbers are not integer , for this you can use float or double
0
Thanks TheAmazingCoder and Alphin Davis Pomy