3 ms·
Simple mobile-friendly online calculator in Javascript
Nothing special, just something I knocked up quickly. I took inspiration from the stock calculator that comes with the HTC Hero (running Android 2.1) .
- cstuder 16y agoAnything interesting about it? (Apart from the fact that it allows decimal numbers like 127.0.0.1 and uses annyoing alert() boxes for error handling.)
- hiddentao 16y agoYeah, alert boxes aren't great I admit. I was aiming for the bare minimum of functionality but I could perhaps add nicer popups using script. It detects changes in browser window size and tries to redraw the button pad accordingly; and so should work well on mobile screens too though there are some width issues on iPod Touch.
- zrgiu 16y agocool. 1+1=3
- yatsyk 16y agoSimilar named http://www.calc5.com/ http://www.calc5.com/ calculator. But could do much more
- bkmartin 16y agoI did one of these as a class exercise in college. how is this hn front page material? Or did I miss something big?
- arethuza 16y agoYou think it could be as least as powerful as the standard Windows 7 calculator - which is actually pretty nice.
- joakin 16y agoOn the iPhone 4 iOs 4.1 it raises the keyboArd each time you press a button