Documentation correction: absint(), props mdawaffe, fixes #9079

git-svn-id: http://svn.automattic.com/wordpress/trunk@10540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-02-10 21:17:44 +00:00
parent 35002bde5f
commit 48d47bee32
1 changed files with 3 additions and 3 deletions

View File

@ -2658,12 +2658,12 @@ function dead_db() {
}
/**
* Converts value to positive integer.
* Converts value to nonnegative integer.
*
* @since 2.5.0
*
* @param mixed $maybeint Data you wish to have convered to an absolute integer
* @return int An absolute integer
* @param mixed $maybeint Data you wish to have convered to an nonnegative integer
* @return int An nonnegative integer
*/
function absint( $maybeint ) {
return abs( intval( $maybeint ) );