How to convert double to int in java?
double d=1.2
int i=int(d)
🔗Source: stackoverflow.com
🔗Source: Java Interview Questions and Answers