Show HN: I made a web-based notepad with a built in unit calculator (opens in a new tab)numpad.io
488 pointsHi HN
It also supports percentages, dates and variables.
I've been working on this alone for a few years now, so would love to get some feedback.
Comments (239) 97 threads
Earlier commentsmin(a, b) = (a + b - abs(a − b)) / 2
max(a, b) = (a + b + abs(a − b)) / 2
I’ve had some issues when using it though: - on mobile, moving the cursor in a calculation doesn’t work very well; - More important, multiplying “200 * 10%” results in “2000%”, I believe the result should be “20”; https://www.wolframalpha.com/input?i=200+*+10%25
I agree formatting should probably go with the first factor, but I wouldn't say current behavior is incorrect
https://github.com/seligman/human_calc
I find it surprisingly useful. It's probably one of those things that has an audience of one, but I find it useful.
All comments shown.
Couldn't load more comments. Check your connection and try again.