Using a library would be nicer, but qalculate is capable of doing more than simple calculations, like currency and unit conversion. See the long feature list here: http://qalculate.sourceforge.net/features.html There is also a libqalculate library, that is written in C++. The API seems simple, so it should be possible to write a wrapper for C#
Joe wrote: > This is hilarious. I was just working on a new calculator plugin. I > found a simple library written in C# that would do the math parsing. I > had to modify it a bit because it was written for German WinXP which > uses "," instead of "." for decimal points, and there are some > mistakes in the regex phrases. You can get it here: > > http://www.codeproject.com/KB/cs/MathParser.aspx > > Im moving this week so I have been too busy to finish it, but it might > be a better solution than something that requires a dependency. > > -JoE > > > On Jun 7, 1:23 am, Nicolas Chachereau <[email protected]> > wrote: > >> Peter Bjørn Jørgensen <[email protected]> wrote: >> >> >>> I've just submitted a new calculator plugin as an alternative to the >>> Google Calculator. It uses the Qalculate command-line tool 'qalc' as >>> backend, so no internet connection is required and it is faster, but >>> Qalculate is a dependency. >>> >> This is great, I've been longing for such a calculator plugin for a long >> time. >> >> Hopefully it will get merged (as it is or after some clean-up). >> >> Regards, >> Nicolas >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GNOME Do" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gnome-do?hl=en -~----------~----~----~----~------~----~------~--~---
