Re: Using POI only as a formula evaluator

Kai Grabfelder <[email protected]>
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <[email protected]>
Hi Philipp,

if you are looking for a small formula expression evaluator I can recommend EvalEx. It is really small and
lightweight

https://github.com/uklimaschewski/EvalEx

Best Regards

Kai

Andreas Reichel schrieb am 28.02.20 um 10:40:
> Hi Philipp.
>
> On Fri, 2020-02-28 at 10:24 +0100, Philipp wrote:
> > thank you for the fast reply and your example. The calculation would
> > be
> > 
> > done on a headless Server as a part of a webservice...
> Install XVFB for that purpose.
>
> > 
> > Is there really no possibility to only use the formular evaluator?
> > 
> > Replacing the variables to constant values would done in our
> > preparations...
>
> I am quite sure, it would be possible but there are much better formula
> parsers/evaluators available for that case:
>
> https://github.com/dkellenb/formula-evaluator
> https://lallafa.objecthunter.net/exp4j/
> http://mathparser.org/
>
> Good luck!
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.