you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 2 years ago (1 child)

Call me a plebian but I still open up Python when I want to do calculations in the command line because I don't know how to in Bash.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 2 years ago*

    It's complicated.

    $((5+8))

    doesn’t support floats. For float you need bc and I always have to look up how to use it. You have to tell it how many numbers it should show scale=2;5/8, by default it also only does integer.

  • source
  • parent