lengstrom / mathevaluator Goto Github PK
View Code? Open in Web Editor NEWEvaluate mathematical expressions in selection regions inline (deprecated)
License: MIT License
Evaluate mathematical expressions in selection regions inline (deprecated)
License: MIT License
Hey, I wrote something similar a long time back without the custom functions called SublimeEvaluate. Perhaps we could merge or something?
Since you've moved to /lengstrom from /meadowstream, the Selection Evaluator plugin is no longer available because it is 'missing'.
Allow for operations on hex digits?
Like F-A = 5
Currently it throws errors, two are print
s without parentheses that I managed to fix, but it's still missing the pyparsing
module
Installed using Package Control with SublimeText 3, Stable Channel 3083 (on Windows 8.1)
Ctrl-Shift-M didn't seem to do anything.
I enabled debug logging in Package Control, restarted ST and looked at the console.
When loading it complained about a 'print' statement in "Selection Evaluator.mathevaluator".
I opened the .py file and replaced the 'print' a Python3 style print statement and now there are no errors, but Ctrl-Shift-M still doesn't do anything
Try this: -5.2325873374938965+5.23258733749390
Result is: 3.5527, obviously it should be 0
Python returns:
-5.2325873374938965+5.23258733749390
3.552713678800501e-15
Line 131 in mathevaluator.py is flawed, it just truncates which is a bad idea. It should rather leave it alone or format the number using "%.4f" % float(evaluated).
for selection of numbers provide the numerical statistics: sum, average, min, max, median, UDF.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.