PATH:
home
/
lab2454c
/
aficb.com
/
vendor
/
phpoffice
/
phpspreadsheet
/
src
/
PhpSpreadsheet
/
Calculation
/
Engineering
<?php namespace PhpOffice\PhpSpreadsheet\Calculation\Engineering; use PhpOffice\PhpSpreadsheet\Calculation\Exception; use PhpOffice\PhpSpreadsheet\Calculation\Functions; class EngineeringValidations { /** * @param mixed $value */ public static function validateFloat($value): float { if (!is_numeric($value)) { throw new Exception(Functions::VALUE()); } return (float) $value; } /** * @param mixed $value */ public static function validateInt($value): int { if (!is_numeric($value)) { throw new Exception(Functions::VALUE()); } return (int) floor((float) $value); } }
[-] Compare.php
[edit]
[-] ConvertDecimal.php
[edit]
[+]
..
[-] ErfC.php
[edit]
[-] ConvertBase.php
[edit]
[-] Constants.php
[edit]
[-] ConvertOctal.php
[edit]
[-] BitWise.php
[edit]
[-] ConvertHex.php
[edit]
[-] BesselY.php
[edit]
[-] ComplexFunctions.php
[edit]
[-] ConvertBinary.php
[edit]
[-] ComplexOperations.php
[edit]
[-] BesselI.php
[edit]
[-] ConvertUOM.php
[edit]
[-] Erf.php
[edit]
[-] BesselJ.php
[edit]
[-] Complex.php
[edit]
[-] BesselK.php
[edit]
[-] EngineeringValidations.php
[edit]