3 ms·
I reimplemented a simplified version of it 7 years ago (wow, time flies) and open sourced it, if people are interested. https://github.com/vjeux/soulver.js http
by vjeux 7y ago
I reimplemented a simplified version of it 7 years ago (wow, time flies) and open sourced it, if people are interested. https://github.com/vjeux/soulver.js https://github.com/vjeux/soulver.js
- jraph 7y agoWatch out: > $22 for lunch + 10% sales tax Displays $32.00 instead of $24.20 or something. Other issues: it does not support units on the right nor euros (€). Nice anyway :-)
- continuational 7y agoTo be pedantic, 10% = 0.10, which is has no unit, so it can't be added to a dollar amount.
- jraph 7y agoSure, but 25 + 10% = 27.5 for: - Soulver, according to the screenshots (and the goal of this project seems to match Soulver's behavior), - the calculator on my phone, - KRunner, the launcher in KDE, and KCalc, its calculator - gcalc, the Gnome calculator - qalc, that shows "25 * (110 * percent) = 27,5". - The TI-106 solar calculator that I happen to have [1]. Thinking about it, we are probably talking about some kind of "+ %" operator, where x + y % = x + x × y / 100. Interestingly, 10% = 0 for the TI-106 (but 25*10% = 2.5). % alone does not seem to mean anything for it. This little calculator will probably outlive me. [1] http://www.datamath.org/BASIC/LCD_Modern/TI-106_2.htm http://www.datamath.org/BASIC/LCD_Modern/TI-106_2.htm
- geoelectric 7y agoUsing their trademark as the name seems a little on the nose, but I guess if it's been that for 7 years nobody must be very concerned.