DZone

In this article, we will see how we can convert a double to an int.

In Java programming, you will have a double primitive value (ex 82.14), but to do the further operations you need an int value (ex. 82) so let’s see how to convert double to int in Java.

Source: DZone