Math & Science - Evaluate

Description: Evaluate is a Dashboard widget that uses the Javascript 'eval' function to process text entered into an input line. The results are output to a buffer so that you can view/copy results from previous calculations. Since the widget uses the eval function to process input you can use the widget to evaluate any valid javascript and even store variables.
Author: Caleb
Version: 1.0
Uploaded on: October 29th 2005 at 3:25 AM
Rating: (4.75 stars)   [Show Detailed Ratings]
Downloads: 425
    Download Now »



Beautiful Design! Great widget, i do think at some point it should parse words such as times divided by plus but it doesn't need to. I love it.

Posted by: Bryan on Oct 29, 05 (3:31 PM) for version 1.0 (current version)   View Detailed Rating

Thanks for your comments, Bryan. That's an interesting suggestion that's fairly easy to implement. I also plan on adding support for implicit multiplication in the next version so that you can do things like 3pi (as opposed to 3*pi).

Posted by: Caleb (developer) on Nov 02, 05 (9:46 PM) for version 1.0 (current version)  

This is great, but there's something funny about floating point values. When I add 0.2+0.1, I get 0.30000000000000004, and when I multiply 0.3*3, I get 0.8999999999999999.

This seems to happen a lot with floating point values with only one decimal point.

Posted by: lukeandrews on Nov 09, 05 (1:19 PM) for version 1.0 (current version)   View Detailed Rating

Another helpfull feature would be:

if this is you recent calculation:
and you now want to continue by adding 567 to the result.
It would be nice if you just had to type:
"+567" instead of "295932+567"

Just how the common calcs do it!

-> if formula starts with operator (+-*/) then instert last result at the beginning of the new formula.

BTW: As I did the Design I didn't rate for it smiley

@ Bryan: Thanx for your kind words! Feedback is always appreciated!

Posted by: Da_Vinci on Nov 16, 05 (11:04 AM) for version 1.0 (current version)   View Detailed Rating

Great design, and solid idea. I like smiley

Posted by: islayermarc on Dec 29, 05 (11:31 PM) for version 1.0 (current version)   View Detailed Rating

Great design. I can't figure out what ^ is supposed to do. Could you make it a^b=pow(a,b) for ease of typing?

Posted by: kmoore on May 13, 06 (3:53 AM) for version 1.0 (current version)  

You Must Log In to Post Comments

Remember Me
Create an account | Password Reminder