WPDev.one

absint()

absint( mixed $maybeint )

Converts a value to non-negative integer.

Parameters 1 required

Name / Type Description
$maybeint
mixed

Data you wish to have converted to a non-negative integer.

Required

Return Value

(int)
A non-negative integer.

Function Information

Since Version
2.5.0
Source File
wp-includes/load.php
Advertisement