- Free Courses
You can convert any double to int, but you need to keep in mind that integer doesn't store any decimals. Integer doesn't either round the number, it simply removes the decimal.
Double to int
double myDouble = 3;
int myInt = (int)myDouble
No comments yet. You can be the first one to comment. Just write your comment in the form and click on the submit button.