Quote:
Originally Posted by DustyPorViva
PHP Code:
function ceil(number) { return int(number) < number ? number + 1 ? number; }
Shouldn't that be:
PHP Code:
return int(number) < number ? number + 1 : number;
|
You are correct sir! I saw it just now.
Just for that, you get this special version of atan2 as your prize!
PHP Code:
function atan2(y,x) {
return x<>0?x>0?atan(y/x):atan(y/x)-radian(180):y>0?radian(90):radian(-90);
}
That's right.
They're nested.