PHPmathintval

Get the integer value of a variable.

Syntax

intval(mixed $value, int $base = 10): int