Module
#5

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
That will work for float, but what about integer? Check if the number is negative, and then mulitple it with -1.

Код:
if(number < 0)
{
number = number * (-1);
}
Reply


Messages In This Thread
Module - by Banditukas - 03.08.2014, 07:21
Re: Module - by SickAttack - 03.08.2014, 08:16
Re: Module - by Lordzy - 03.08.2014, 08:18
Re: Module - by SlimDkhili - 03.08.2014, 08:19
Re: Module - by dirigent00 - 03.08.2014, 08:26

Forum Jump:


Users browsing this thread: 1 Guest(s)