Not signed in (Sign In)

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorYSNP
    • CommentTimeAug 1st 2015 edited
     
    I've built a Reverse Polish Notation ( https://en.wikipedia.org/wiki/Revers... ) calculator in the C.I Editor.



    It supports the following operators: + - / * %
    When you provide too many or too few values, the calculator will give an error and tell you what's wrong.

    Enter your input in the text box, and then press "Calculate" to get the result.
  1.  
    Ummm.... I suggest that instead of scaling the button, that you set the text size from the shape settings. It makes it not blurry.-----------------
    If less people are active, that will only make for even less activity. Start making those designs!
    Currently working on a one-round no-elimination quick RP game...
    • CommentAuthorYSNP
    • CommentTimeAug 2nd 2015
     
    That looks better indeed. Done.
  2.  
    Make it so if you add letters, it says "You have letters in the input."-----------------
    If less people are active, that will only make for even less activity. Start making those designs!
    Currently working on a one-round no-elimination quick RP game...
    • CommentAuthorYSNP
    • CommentTimeAug 2nd 2015
     
    The builtin string-to-number converter works perfectly if that part of your expression starts with digits; and if it does not, it evaluates to NaN. I don't really see a reason to give an error message there.
  3.  
    https://i.gyazo.com/7d3f1c15a58322202007d23e25664cfe.png

    I'd say too many values.-----------------
    https://i.gyazo.com/6efd8708c249ddc6ae7e1040267094ec.png