note 124387 added to ref.math

From: Date: Tue, 12 Nov 2019 20:53:42 +0000
Subject: note 124387 added to ref.math
Groups: php.notes 
Request: Send a blank email to php-notes+get-213042@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://elmqal.com/ ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.168 (proxied: 88.99.9.58) ---- Manual Page -- http://php.net/manual/en/ref.math.php Edit -- https://master.php.net/note/edit/124387 Del: integrated -- https://master.php.net/note/delete/124387/integrated Del: useless -- https://master.php.net/note/delete/124387/useless Del: bad code -- https://master.php.net/note/delete/124387/bad+code Del: spam -- https://master.php.net/note/delete/124387/spam Del: non-english -- https://master.php.net/note/delete/124387/non-english Del: in docs -- https://master.php.net/note/delete/124387/in+docs Del: other reasons-- https://master.php.net/note/delete/124387 Reject -- https://master.php.net/note/reject/124387 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#213042) next »