a35joshi / scientific-calculator Goto Github PK
View Code? Open in Web Editor NEWBasic scientific calculator
License: Apache License 2.0
Basic scientific calculator
License: Apache License 2.0
add ability to show history of previous inputs and outputs
Instead of (sin let's try sin ( because that will reduce the possibility of people getting stuck with the ex4j library error.
We should not be allowed to press del button in case we get a SYNTAX ERROR as our output.
if possible enable decimal formatting:
DecimalFormatSymbols otherSymbols = new DecimalFormatSymbols(Locale.ENGLISH); DecimalFormat decimalFormat = new DecimalFormat( "###,###.########" , otherSymbols ); decimalFormat.format(Double.parseDouble(cNumber));
Use this code and verify before updating master
Standard right click long press drop down menu to be added.
create a release for Google Play Store App Release before year end.
(on GitHub)
Allow user to choose between degree and radians.
Could perhaps swap in the customised function by adding if else.
Even though I place the pointer at say sin ( to make it 35sin, it still gets detected at the latter position. That is becomes this way sin(35);
App crashes when I enter a decimal place and press equal.
Fix is to flag and check for the flag. Maybe a boolean.
3564+++++------ doesn't show syntax error. Or any input of that kind.
Like syntax error delete all of sin cos and tan
Enable copy pasting feature for pre Honey Comb devices too.
Sin pi, cos pi show syntax error.
Put solution around line 474
This will show โ on the screen. But cbrt in backend.
Similarly do for all.
Instead of using string output.gettext to check last3chars and delete sin ( cos ( etc try by doing with current cursor position.
Take into account the solution.
May help for cos90 etc.
Avoid Copyright issues.
Don't allow users to edit the syntax error window with more stuff. Lock it if possible.
Delete operation forces cursor to first position/start.
Add pointer style marker to edit stuff already typed
Cant store two same calculations at a time because keys have to be unique.
Remove the existing look and make it more like a Scientific Calculator.
Right now its a basic calculator.
Make TAN90, log0 and exceptions like these display MATH ERROR rather than NaN.
Also E must be written as ^10
Make app function only in Portrait mode. Disable Landscape mode.
For eg, I paste something from Calculator, the color of the pasted text becomes green. Make it standardized black color.
//shouldn't this be String now?
hashMap = (HashMap<String, Double>) mIntent.getSerializableExtra("History_Store");
Just align AC button properly.
Check Daniel's comments.
If result<0
throw ex
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.