LesterLyu / fast-formula-parser

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

Inconsistent results with parse and parseAsync #19

Closed rmdort closed 4 years ago

rmdort commented 4 years ago

If you run

parser.parse(IF(20 < 0, "yep", "nope")) => nope

With parseAsync

parser.parseAsync(IF(20 < 0, "yep", "nope")) => yep

Any reason this is happening?

LesterLyu commented 4 years ago

https://github.com/LesterLyu/fast-formula-parser/releases/tag/1.0.16

rmdort commented 4 years ago

Thank you.