Re[2]: [PHP] unexpected results using sprintf() with %u

From: Date: Fri, 03 Oct 2003 06:26:31 +0000
Subject: Re[2]: [PHP] unexpected results using sprintf() with %u
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-164856@lists.php.net to get a copy of this message
Hi, TR> -86 actually looks like FFFFFFAA which if you then look at unsigned is pretty TR> big :) TR> -- TR> regards, TR> Tom Maybe what you need is the abs() function which ignores the sign of a number -- regards, Tom

« previous php.general (#164856) next »