View Single Post
runonce
Junior Member
Join Date: Jan 2010
Old 02-03-2010 , 17:02   Re: Converting Integer to Natural number
Reply With Quote #4

Quote:
Originally Posted by Antithasys View Post
Quote:
Originally Posted by =MaTi= View Post
PHP Code:
new difference;

if(
Y)
{
    
difference Y;
}
else
{
    
difference X;

That was a smart come around, Mati. Anyway, using FloatAbs takes less writing. Thanks to both of you!
runonce is offline