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. :: https://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 modified: 2024-04-16; loaded in 0.0059 seconds