AdvancedCalculator : An extended form of calculator

Introduction


Current version : 1.0 

Advanced calculator is a calculator which can evals sums directly from the given input.
I had started making this extension 2 days before & now it's completed :yum:


Features

  • 98% of the times success rate :white_check_mark:

  • Can include variables in the sum :white_check_mark:

  • Supports BODMAS :white_check_mark:

  • Supports sum checker, like 1*2 == 2*1

  • Can help you in the exam :joy:


Blocks & Usage


component_method

Finds the sum of the given input.

sum : input/string
returns : calculated value of the sum

component_event

Raised when error occured or failed to calculate.
message : errorMessage/reason
sum : the sum which cannot be solved by the extension



Downloads

net.advancedcalculator.xoma.aix (10.9 KB)


Credits

Vknow for title of the topic, because it's similar to his :hugs:


I thought of making this extension paid but made it FREE, donations are accepted :

PapalMe

Advanced Calculator AppInventor extension by Xoma (KUMARASWAMY B.G) is
licensed under CC BY-NC-ND 4.0

Any suggestion are appreciated!


Thanks :upside_down_face:

15 Likes

Wow, Nice Extension @Kumaraswamy :partying_face:

1 Like

Great extension @Kumaraswamy

1 Like

Nice extension :+1:

1 Like

No, please don't.

But can I ask why don't I just use the blocks from AI2 to achieve that? I don't think it's hard to implement.

3 Likes

Ok so it's not 12, its 6 likes target! :grinning:

edit : will upload in 2 mins

edit : done

Yes, you can try to do, and say me if succeeded :upside_down_face:

Please don't do that again (requesting likes as a condition for publishing an extension).

4 Likes

Ok :sweat_smile: I will not. I did that because some of my friends try to recompile my extension like before .

2 Likes

Because you can't evaluate from String using math blocks but you can do same using Web Viewer (JavaScript).

2 Likes

What I mean is creating our own logic using blocks only. Anyways, it's a good extension :wink:

2 Likes

who needs enemies when you have friends like that :wink:

5 Likes

It can be done, but this extension provides you extra features like sum checker, you can also calculate square root, sin, cos & tan & also you can use the error occurred block to see where the error as occurred :wink: where as in JS you cannot eval sums like sqrt(2), it gives you error.

Thanks

:sweat_smile: :kissing_heart:

I don't think these are unavailabe in ai2.
Btw, good test extension.

But you cannot eval them as a string :wink: so it's

NOT

a test extension.

:point_down: :point_down:

You can....

image

4 Likes

Sorry, I din't mean that. I meant you cannot directly eval

image

2 Likes

This extension can eval without any webview/js/code :upside_down_face:

What might be a clever thing is to parse "natural language" to return a result:

User types:

What is the square root of 64

or

tell me the sin of 45 degrees

or

what is the sum of two plus one

3 Likes