0 votes
in JAVA by
How to convert double to int in java?

1 Answer

0 votes
by

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

 

 

 

 

 

 

Related questions

0 votes
asked Sep 3, 2019 in JAVA by Robin
0 votes
asked Oct 20, 2020 in JAVA by sharadyadav1986
...