Skip to main content

Timeline for Beginner's JavaScript calculator

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Dec 21, 2016 at 17:41 comment added Gemtastic I fixed my question to be a bit more clear on this part :)
Dec 21, 2016 at 17:36 comment added Cris Motinha Is there anyway to try 5%2? Because at the exactly time you click % you get the percentage result. I don't think you should call it a broken thing, although you could create an "help sheet" (where you could say that % is percentage, not modulus) :)
Dec 21, 2016 at 17:26 comment added Gemtastic No, the percentage function isn't broken, but if you try 5%2 you're gonna have a bad time ;)
Dec 21, 2016 at 17:21 comment added Cris Motinha Oh, that's fine. In all calculators "%" mean percentage, so that's okay :) I just don't get why you said it was broken... Your percentage function is broken, is that it?
Dec 21, 2016 at 17:19 comment added Gemtastic It is an intentional choice, to make the button do SOMETHING but modulous is a different operator that does different calculations :)
Dec 21, 2016 at 17:05 comment added Cris Motinha @Gemtastic Sorry, I still don't get it. In your code, it seems like you want to % convert do percent, but you actually want to it calculate modulus? Or you were only warning us that you "changed" the function of the symbol "%"?
Dec 21, 2016 at 16:58 comment added Gemtastic Modulus doesn't do modulus, it converts the number to percent.
Dec 21, 2016 at 16:49 review First posts
Dec 21, 2016 at 19:11
Dec 21, 2016 at 16:45 history answered Cris Motinha CC BY-SA 3.0