Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for ln_php.bat

(view source code of ln_php.bat as plain text)

  1. :: http://www.robvanderwoude.com/batchphp.php
  2. :: Returns natural logarithm of specified value
  3. :: Usage:  "Ln 100" returns "4.6051701859881", "Ln 2.71828" returns "0.99999932734728"
  4. @IF NOT "%~1"=="" PHP -r print(log(%~1));
  5.  

page last uploaded: 2017-04-06, 13:33