WordPress at a glance
function is not described

getid3_lib::DecimalizeFraction() public WP 1.0

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

No Hooks.

Return

float.

Usage

$result = getid3_lib::DecimalizeFraction( $fraction );
$fraction(string) (required)
-

Code of getid3_lib::DecimalizeFraction() WP 5.7.2

<?php
public static function DecimalizeFraction($fraction) {
	list($numerator, $denominator) = explode('/', $fraction);
	return $numerator / ($denominator ? $denominator : 1);
}