DEPRECATED: this repository has been deprecated. The project continues at formulajs/formulajs. Documentation can be found here
JavaScript implementation of most Microsoft Excel formula functions
Formulas depends on the following Open source Javascript libraries: Numeric, NumeralJs and jStats.
Include them as follow to use formula.js in your browser:
<!-- Numeric -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/numeric/1.2.6/numeric.min.js"></script>
<!-- Numeral.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/numeral.js/1.4.5/numeral.min.js"></script>
<!-- jStat -->
<script src="https://cdn.jsdelivr.net/jstat/latest/jstat.min.js"></script>
<!-- Finally add formula.js -->
<script src="https://github.com/sutoiku/formula.js/raw/master/local-formula-path/formula.js"></script>
formula.js is freely distributable under the terms of the MIT license. Copyright (c) 2014 Sutoiku, Inc.