Searched refs:floatnum (Results 1 – 4 of 4) sorted by relevance
855 public function CastAsInt($floatnum) { argument857 $floatnum = (float) $floatnum;860 if ($this->trunc($floatnum) == $floatnum) {862 if ($floatnum <= 1073741824) { // 2^30864 $floatnum = (int) $floatnum;867 return $floatnum;
60 function CastAsInt($floatnum) { argument62 $floatnum = (float) $floatnum;65 if (getid3_lib::trunc($floatnum) == $floatnum) {67 if ($floatnum <= 1073741824) { // 2^3069 $floatnum = (int) $floatnum;72 return $floatnum;
83 * @param int|float $floatnum87 public static function CastAsInt($floatnum) { argument89 $floatnum = (float) $floatnum;92 if (self::trunc($floatnum) == $floatnum) {94 if (self::intValueSupported($floatnum)) {96 $floatnum = (int) $floatnum;99 return $floatnum;
209 function CastAsInt($floatnum) { argument211 $floatnum = (float) $floatnum;214 if (trunc($floatnum) == $floatnum) {216 if ($floatnum <= pow(2, 30)) {218 $floatnum = (int) $floatnum;221 return $floatnum;