3 ms·
pow(A2,2) seems reasonable. Please: pow = Math.pow.bind(Math) at least, as typing Math in a spreadsheet is going to get boring. Not sure if JS is the
by nailer 13y ago
pow(A2,2)
seems reasonable.
Please:
pow = Math.pow.bind(Math)
at least, as typing Math in a spreadsheet is going to get boring.
Not sure if JS is the best choice for a spreadsheet, though, JS has surprising (compared to Python or Ruby) IEEE 754 arithmetic. I don't know that much about the topic so perhaps someone else could elucidate.