This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

NikZ presents ...


CALC 2.0

A calculator named CALC made in two days! And an extra day of fixing a bug!

Version 0.2.1 (of 2.0)

Decimals are still a bit bugged (floating point).

Version History:

0.1 7-13-14

0.2 7-14-14
Added output interface, decimals, negative numbers, and proper mathematical signs

0.2.1 7-24-14
Fixed a bug where inputting multiple decimal points crashed CALC.

3064 views / 412 in the last 7 days

Tags: calculator nikz

This scenario is a member of: Utility by NikZ, Math Scenarios

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

A new version of this scenario was uploaded on Tue Jul 15 02:44:28 UTC 2014
A new version of this scenario was uploaded on Tue Jul 15 02:46:15 UTC 2014 0.2! A major update! We've added decimals, proper signs for multiplying and dividing, and also negative numbers! Now there is a userface on the output bar, too.


One tiny bug, I accidentally double clicked the '.' twice and it will stop the simulation from running. It is pretty cool to see it put the numbers in the display now. You could have a lot of fun with this - maybe evolve it into a graphing calculator? :D


Clicking numbers adds them to a String in the World. Later, they are turned into doubles by parseDouble(), which might cause the problem. I will look into that. The graphing calculator sounds like a cool idea, and can be a nice extension to this.
A new version of this scenario was uploaded on Thu Jul 24 19:40:07 UTC 2014 Fixed bug.


@lordhershey, the bug should be fixed. Thanks for reporting it.

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.