<?phpnamespacePhpOffice\PhpSpreadsheet\Calculation\MathTrig;usePhpOffice\PhpSpreadsheet\Calculation\ArrayEnabled;usePhpOffice\PhpSpreadsheet\Calculation\Exception;classExp{useArrayEnabled;/** * EXP. * * Returns the result of builtin function exp after validating args. * * @param mixed $number Should be numeric, or can be an array of numbers * * @return array|float|string Rounded number * If an array of numbers is passed as the argument, then the returned result will also be an array * with the same dimensions */publicstaticfunctionevaluate($number){if(is_array($number)){returnself::evaluateSingleArgumentArray([self::class,__FUNCTION__],$number);}try{$number=Helpers::validateNumericNullBool($number);}catch(Exception$e){return$e->getMessage();}returnexp($number);}}