note 102272 deleted from function.sqrt by danbrown
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: marcoarah ---- netmask and wietse89: you can use log() to achieve it: <?php $result = log(256, 2); echo $result; /* * Output: 8 */ ?> And log() always returns float.