+ 1
how can i turn the intager to doubel ??
14th Mar 2017, 9:37 PM
Khulud Al-slman

2 ответов
+ 4
You cast it like this:
int x = 5;
double y = (double) x;
14th Mar 2017, 9:40 PM
DaemonThread

+ 1
thank you
14th Mar 2017, 9:41 PM
Khulud Al-slman

Часто задают такие вопросы?
Учитесь эффективнее, бесплатно:
Актуальное сегодня
Input errors (python)
1 Votes
Vote Code
1 Votes
Without degree job
0 Votes
Script file names
0 Votes