Show HN: Kalu – Calculator concept for long and inter-linked calculations
kushagragour.in
kushagragour.in
...Actually, that would be a damn useful site: doesthiswordmeansomethingdirtyinanobscurelanguage.com
One thing that would make it more useful to me, though much more difficult to implement, is that when you click a reused value, it store a reference to that result, so if you change the calculations for that result, all the references change also.
For example, that way I could have some initial parameters up top, and use those in a complicated calculation, with the end result changing if I change those parameters.
Curious if it's out of score or valuable to make the output/input behave more like a variable than copy/paste? e.g. line 1 is "2 + 3", so you click on the result, "5" and you use that in a new expression: "5 + 20". However, if you go and change the original line to "7 + 3" the second expression could update to "10 + 20"
result = eval(match[1]);
You'll get access to many more functions, including unit conversions.None of the Math.x functions work, e.g. Math.floor(2.5). Defining functions also doesn't work.
Looks promising though, I would use it for scratching project euler problems.