0

Can I put this code?

int.parse Instead of: Covert.Toint32

26th Feb 2017, 11:19 AM
BobakTech
BobakTech - avatar
2 Respostas
+ 2
No, but why? "parse" is used for taking a number from a mixed text (string of text and numbers), but "convert" is used when we have a number in text (string) format. This is why these are different. 💡
26th Feb 2017, 8:16 PM
Mohammad amin Hardani
Mohammad amin Hardani - avatar
0
Yes, if you converting from string. For other types it won't work.
26th Feb 2017, 8:06 PM
Nick Kuleba
Nick Kuleba - avatar