Dividing numbers that will result a float ?
#3

Quote:
Originally Posted by HY
Посмотреть сообщение
pawn Код:
printf("%d", 2 / 10);
I think this doesn't need to be a float.
It will result 0 too.
As 2 / 10 will result in a fraction.
Reply


Messages In This Thread
Dividing numbers that will result a float ? - by Ahmad45123 - 08.01.2015, 19:10
Re: Dividing 'undividable' numbers ? - by HY - 08.01.2015, 19:12
Re: Dividing 'undividable' numbers ? - by Ahmad45123 - 08.01.2015, 19:13
Re: Dividing numbers that will result a float ? - by CoaPsyFactor - 08.01.2015, 19:17
Re: Dividing numbers that will result a float ? - by Misiur - 08.01.2015, 19:17
Re: Dividing numbers that will result a float ? - by CoaPsyFactor - 08.01.2015, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)