note 124341 added to ref.math

From: Date: Sat, 26 Oct 2019 23:28:01 +0000
Subject: note 124341 added to ref.math
Groups: php.notes 
Request: Send a blank email to php-notes+get-212771@lists.php.net to get a copy of this message
And the reason I needed a Factorial function is because I there were no nPr or nCr functions native to PHP, either. function n_pick_r($n,$r){$n=(int)$n; $r=(int)$r;return (fact($n)/fact($n-$r));} function n_choose_r($n,$r){$n=(int)$n; $r=(int)$r;return (n_pick_r($n,$r)/fact($r));} Hope that helps someone! exmple:https://www.extraprog.com/ ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.168 (proxied: 196.157.70.118) ---- Manual Page -- http://php.net/manual/en/ref.math.php Edit -- https://master.php.net/note/edit/124341 Del: integrated -- https://master.php.net/note/delete/124341/integrated Del: useless -- https://master.php.net/note/delete/124341/useless Del: bad code -- https://master.php.net/note/delete/124341/bad+code Del: spam -- https://master.php.net/note/delete/124341/spam Del: non-english -- https://master.php.net/note/delete/124341/non-english Del: in docs -- https://master.php.net/note/delete/124341/in+docs Del: other reasons-- https://master.php.net/note/delete/124341 Reject -- https://master.php.net/note/reject/124341 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#212771) next »