note 124587 added to ref.math

From: Date: Thu, 09 Jan 2020 14:09:24 +0000
Subject: note 124587 added to ref.math
Groups: php.notes 
Request: Send a blank email to php-notes+get-213818@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.fakera.com/ ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.168 (proxied: 41.237.31.38) ---- Manual Page -- http://php.net/manual/en/ref.math.php Edit -- https://master.php.net/note/edit/124587 Del: integrated -- https://master.php.net/note/delete/124587/integrated Del: useless -- https://master.php.net/note/delete/124587/useless Del: bad code -- https://master.php.net/note/delete/124587/bad+code Del: spam -- https://master.php.net/note/delete/124587/spam Del: non-english -- https://master.php.net/note/delete/124587/non-english Del: in docs -- https://master.php.net/note/delete/124587/in+docs Del: other reasons-- https://master.php.net/note/delete/124587 Reject -- https://master.php.net/note/reject/124587 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#213818) next »