Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for exp_php.bat

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

  1. :: http://www.robvanderwoude.com/batchphp.php
  2. :: Returns e raised to the power of the specified number
  3. :: Usage:  "Exp 1" returns "2.718281828459", "Exp 5" returns "148.41315910258"
  4. @IF NOT "%~1"=="" PHP -r print(exp(%~1));
  5.  

page last uploaded: 2017-08-21, 14:26