Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for pow_php.bat

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

  1. :: http://www.robvanderwoude.com/batchphp.php
  2. :: Returns first argument raised to the power of second argument
  3. :: Usage:  "Pow 2 3" returns "8", "Pow 3 2" returns "9"
  4. @IF NOT "%~2"=="" PHP -r "print(pow(%1,%2));"
  5.  

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