Skip to content

Comment on Ask HN: What would Excel's formula language look like if you invented it today?

Comments

    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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.