Hacker News new | ask | show | jobs
by vbernat 3275 days ago
With zsh, you can even save a few keystrokes.

  function c() {
    echo $(($@))
  }
  alias c='noglob c'
1 comments

zsh can handle floating point arithmetic too, while bash can't.