+ 1

What is Convert.ToInt32()

I cannot understand what this function does and I thought you would know.So if somebody can tell me it would be amazing!

16th Aug 2019, 11:48 AM
xPerfection
xPerfection - avatar
2 Respostas
+ 1
As the name suggests,the function is used to convert a value to an integer. You can treat the 'Int32' as simply an integer first. The value you input in the () can be a string or a numerical value in the form of a double,float,decimal number,16-bit integer and much more.
16th Aug 2019, 12:13 PM
Ketchup🍅
Ketchup🍅 - avatar
+ 1
Thanks it helped!
16th Aug 2019, 12:17 PM
xPerfection
xPerfection - avatar