WordPress at a glance
function is not described

getid3_lib::CastAsInt() public WP 1.0

{} It's a method of the class: getid3_lib{}

No Hooks.

Return

Int|float.

Usage

$result = getid3_lib::CastAsInt( $floatnum );
$floatnum *(int float) (required)*

Code of getid3_lib::CastAsInt() WP 5.7.2

<?php
public static function CastAsInt($floatnum) {
	// convert to float if not already
	$floatnum = (float) $floatnum;

	// convert a float to type int, only if possible
	if (self::trunc($floatnum) == $floatnum) {
		// it's not floating point
		if (self::intValueSupported($floatnum)) {
			// it's within int range
			$floatnum = (int) $floatnum;
		}
	}
	return $floatnum;
}