Absolute and Round
#4

floatround
Floatround method

pawn Код:
stock Absolute(value)
{
    if(value < 0) {
        value = value * -1;
    }
    return value;
}
I didn't see the posts above
Reply


Messages In This Thread
Absolute and Round - by BlackAtom - 21.07.2012, 22:36
Re: Absolute and Round - by ViniBorn - 21.07.2012, 22:43
Re: Absolute and Round - by [KHK]Khalid - 21.07.2012, 22:44
Re: Absolute and Round - by Larceny - 21.07.2012, 22:45
Re: Absolute and Round - by BlackAtom - 21.07.2012, 23:21

Forum Jump:


Users browsing this thread: 2 Guest(s)