Jump to content

using math 'ln' in php


Stooney

Recommended Posts

i have the following formula:

 

$rating = -(ln(($points/2894) - 1) - 5.56)/0.0025;

 

that formula is the reverse engineer of another one i had someone do, I dont personally know the math.  According to him the ln "is the natural logarithm. i.e. log to the base e."  whatever that means.  Anyone know what a php alternative for this 'ln' is?

Link to comment
https://forums.phpfreaks.com/topic/44376-using-math-ln-in-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.