5 ms·
@chinchang: If you replace the eval() with math.eval from http://mathjs.org/ http://mathjs.org/ here result = eval(match[1]); You'll get access to many mo
by dugmartin 11y ago
@chinchang: If you replace the eval() with math.eval from http://mathjs.org/ http://mathjs.org/ here
result = eval(match[1]);
You'll get access to many more functions, including unit conversions.
- chinchang 11y agoThat thing is awesome! Thank you so much for the link :) I'll look into it.