Bugs happen, but most people don’t like to admit it.

If you see any unexpected behavior, leave a note on this page or email me. It’s most helpful if you can include a link to the calculation that caused the problem (use the InstaCalc permalink!), which makes it much easier to diagnose and fix.

And thanks for taking the time to make InstaCalc better!

16 Responses to “Bugs? What bugs?”

  1. Robert Says:

    http://instacalc.com/?d=QnVnLg&c=c2ludXMgPSBzaW4oMS41NzA3OTYzMykgLy8gZG9lc24ndCB3b3JrfHNpX3VzID0gc2luKDEuNTcwNzk2MzMpIC8vIHdvcmtzfHxiaW5hcnkgPSBiaW4oOTApIC8vIGRvZXNuJ3Qgd29ya3xpbmFyeSA9IGJpbig5MCkgLy8gd29ya3N8Ly8gdmFyaWFibGVuYW1lIGJyb2tlbiBpZiB0aGVyZSBpcyBhIGZ1bmN0aW9uIG5hbWUgaW4gaXQ-fGJpbmFyeSA9IDEyMyAvLyBidXQgb25seSBpZiB0aGUgZnVuY3Rpb24gd2hvc2UgbmFtZSBpcyBpbiB0aGUgdmFyaWFibGUgbmFtZSBpcyB1c2VkLCBpdCBpcyBicm9rZW4&s=sssssss&v=0.6

    Also, it would be nice if I was able to type “pi” and it would actually calculate pi.

  2. kalid Says:

    Hi Robert, I appreciate the feedback!

    1) I’ve fixed the function/variable naming issue you mentioned. If you try the link again it should work. You may have to press ctrl+refresh to reload the cache.

    2) Actually, “PI” (capital letters) was available as a constant, but the lowercase was not. I’ve added lowercase “pi” in :)

    By the way, E (2.718…) is only available as a capital letter; I think the lower-case “e” has a much higher chance of colliding with a variable a typical user may define.

    Thanks again for the feedback!

  3. ray Says:

    Hi Kalid,

    Super job!

    Bug?
    Try: 100+10%-10%
    Result in InstaCalc: 109.9 !!
    (should be “99″ not “109.9″, right?…)

    Ray

  4. ray Says:

    UPDATE TO % BUG:

    Hi Kalid!
    Better way to reproduce the bug f/my prev post.
    It works OK, UNLESS formula is entered
    after adding +rows….

    See Row R27 in TinyURL:
    —> http://tinyurl.com/yb5whm (”Namespaces” example)

    I simply clicked on “Add +5 more rows” link,
    and then added the formula: 100+10%-10%

    InstaCalc red result (as you can see in R27) is: “109.9″.
    I believe it should be: “99″…
    Either that, or I’ve been hitting the bottle again… :-)

    Ray

  5. kalid Says:

    Thanks Ray! Yes, there was a bug in the previous version (v0.6) where only the first % was doing addition, the second % was being treated as “.10″.

    Currently, each version is separate so the behavior stays exactly as the creator saw it (I don’t want to break old links if there is new syntax).

    However, if you try “100 + 10% - 10%” on the current site (v0.8) it works :)

    Thanks for your help!

  6. Martin Says:

    Hy, I really love this idea but:

    “15 mpg in km/liter” works, but nobody cares because non-americans want to know:
    “15 mpg in liter/100km”…
    It would be great if this worked to!

    Thanks a lot!

  7. kalid Says:

    Hi Martin, I’ve added inverted and scaled conversions, so now you can do what you describe!

    More details:

    http://instacalc.com/blog/currency-conversions-and-flexible-units

  8. Rowel Says:

    I’ve bookmarked your site and have used it frequently. I’m wondering if your planning to come up with something similar for mobile phones (without going online, that is)?

  9. Kalid Says:

    Hi Rowal, thanks for the comment. I hadn’t considered an offline mobile version yet, but am developing various gadgets so it could be on the horizon. Appreciate the feedback.

  10. R Says:

    See the link… and thanks for your beatiful work.
    http://instacalc.com/?d=&c=MjA5NzE1MjAwMCAqIDJ8MTMyODYwNTk1M3xyMStyMnw1LDUyMiw5MDksOTUzIGJ5dGUgaW4gZ2J8cjErcjIgYnl0ZSBpbiBnYiAvLyAtLSBzaG91bGQgYmUgYXMgYWJvdmU-fHw&s=sssssss&v=0.9

  11. kalid Says:

    Thanks for the feedback. Currently you have to put parens before the conversion (see below):

    http://instacalc.com/?d=&c=MjA5NzE1MjAwMCAqIDJ8MTMyODYwNTk1M3xyMStyMnw1LDUyMiw5MDksOTUzIGJ5dGUgaW4gZ2J8cjErcjIgYnl0ZSBpbiBnYiAvLyAtLSBzaG91bGQgYmUgYXMgYWJvdmU-fChyMSArIHIyKSBieXRlIGluIGdiIC8vICh3aXRoIHBhcmVucyl8&s=sssssss&v=0.9

    This is behavior I’d like to change, appreciate the comment.

  12. David Says:

    Hi,

    Really great idea, and a really interesting blog!

    I am trying to work with radians

    Please, try sin(pi rad). The result returned is undefined. Is it a bug or am I doing something wrong?

    Thanks a lot!

  13. PR Says:

    Your trig valuea are all messed up.

    One small example:

    cos(pi/2) should be zero. Not 0.99962421686 lol

  14. kalid Says:

    Hi, the trig values are actually in degrees by default, not radians. So cos(pi/2) is about cos(3.14/2) ~ cos(1.5) which is close to 1.

    If you want radians, you can write:

    cos(pi/2 rad)

  15. kazar Says:

    From an old biz analyst, not a programmer, so can only make end-user-ish observations, can’t help w/code debugging (sorry):

    PROBLEM IN CODE IN EMBEDDED SALARY-TO-WAGE INSTACALC EXAMPLE ON TOUR PAGE:

    Add a $ before the 50K and the result is nullified. But … on the home page if I type “salary = $50K” in a row, the result is accurate (”50,000.00″).

    Similarly, if I type a $ in front of the word salary in the row5 calc on the Tour page, it nullifies the result, whereas if I recreate the salary-to-wage rows on the home page of the site and use “$salary” rather than “salary” in Row5, the result is returned properly in decimal notation.

    This is probably just a matter of different InstaCalc versions on the 2 pages?

  16. Gianluca Says:

    Hello,

    I’m using your gadget for Vista. Nice software both gadget and web application!!
    Found a innocuous bug: as you can see from the jpg I linked, there is the possibility to right scroll the gadget, just click and drag.

    Why there is that empty black space under the text field? Space in the side bar is precious! :)

    Thank you
    Gianluca

Leave a Reply