PATH:
home
/
lab2454c
/
tripvare.com
/
vendor
/
phpoffice
/
phpspreadsheet
/
src
/
PhpSpreadsheet
/
Calculation
/
MathTrig
<?php namespace PhpOffice\PhpSpreadsheet\Calculation\MathTrig; use PhpOffice\PhpSpreadsheet\Calculation\Exception; class Random { /** * RAND. * * @return float Random number */ public static function rand() { return (mt_rand(0, 10000000)) / 10000000; } /** * RANDBETWEEN. * * @param mixed $min Minimal value * @param mixed $max Maximal value * * @return float|int|string Random number */ public static function randBetween($min, $max) { try { $min = (int) Helpers::validateNumericNullBool($min); $max = (int) Helpers::validateNumericNullBool($max); Helpers::validateNotNegative($max - $min); } catch (Exception $e) { return $e->getMessage(); } return mt_rand($min, $max); } }
[-] Roman.php
[edit]
[-] MatrixFunctions.php
[edit]
[-] Absolute.php
[edit]
[-] Floor.php
[edit]
[-] Angle.php
[edit]
[+]
..
[-] Combinations.php
[edit]
[-] Gcd.php
[edit]
[-] Round.php
[edit]
[-] IntClass.php
[edit]
[-] SeriesSum.php
[edit]
[-] Sign.php
[edit]
[-] Factorial.php
[edit]
[-] Subtotal.php
[edit]
[-] Arabic.php
[edit]
[-] Sum.php
[edit]
[-] Exp.php
[edit]
[-] Logarithms.php
[edit]
[-] Lcm.php
[edit]
[-] Operations.php
[edit]
[-] Helpers.php
[edit]
[-] Base.php
[edit]
[-] Sqrt.php
[edit]
[-] Trunc.php
[edit]
[+]
Trig
[-] Ceiling.php
[edit]
[-] Random.php
[edit]
[-] SumSquares.php
[edit]