Last active
November 18, 2015 14:25
-
-
Save d9k/2564712c9882d6221639 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run "bc -l" and then... | |
define fpow(a, b) { return e(b * l(a)); } | |
# example (calculate monthly percent by year percent): pow(1.08, 1/12) | |
# 1.00643403011000345482 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment