LesterLyu / fast-formula-parser

Parse and evaluate MS Excel formula in javascript.
https://www.npmjs.com/package/fast-formula-parser
MIT License
454 stars 63 forks source link

Allow position of the cell to be passed in arguments #34

Closed rmdort closed 3 years ago

rmdort commented 3 years ago

Cell position will be passed in argument along with value

rmdort commented 3 years ago

Do you know why this test fails. I didnt make any change to it though

1 failing
  1) Date and Time Functions
       DATEVALUE:
     AssertionError: DATEVALUE("12/3") should equal 44168
: expected 44533 to be close to 44168 +/- 1e-8
LesterLyu commented 3 years ago

You can ignore this test, the test runs into different result for different year (2020 -> 2021).

LesterLyu commented 3 years ago

I'll merge this to v2 branch.

LesterLyu commented 3 years ago

Merged to v2 branch.