Commit Graph

7 Commits

Author SHA1 Message Date
martian-f
0862326a79 Convert calculator numbers from/to user locale.
Tries to convert numbers in query string to invariant culture format before passing to YAMP, and the other way around when presenting result from
YAMP. Nothing fancy, just a regular expression scanning for substrings consisting of number, decimal separator and group separator, trying a
parse and convert on them. Translation is skipped if no conversion between user locale and invariant culture number format is necessary.

Closes #436.
2017-04-10 23:43:23 +02:00
bao-qian
75ce6d42d0 update nuget package 2017-03-04 16:35:24 +00:00
Jon Daniels
45b40d903c fix typo preventing last PR from taking effect 2016-08-04 17:52:11 -07:00
Jon Daniels
adac0f3e51 added sqrt as calculator keyword too 2016-08-04 16:43:32 -07:00
Jon Daniels
781845905c added various keywords to calculator
Added functions I commonly use on e.g. google calculator but were missed by parser.

Specifically I added:
e (constant like pi)
tan, arcsin, and arctan
log and ln
2016-08-04 13:17:00 -07:00
Salas
337a2cf319 update zh-tw locale strings for plugins (#898)
* update zh-tw locale strings for plugins
2016-08-03 23:18:57 +01:00
bao-qian
e7879384b1 fix #749 2016-06-16 02:06:12 +01:00