Skip to main content

Timeline for Can I do basic maths in Bash?

Current License: CC BY-SA 2.5

5 events
when toggle format what by license comment
Sep 30, 2017 at 12:03 comment added Andreas Hartmann This should've been the accepted answer.
Mar 11, 2011 at 2:27 comment added fpmurphy Bash can only do integer arithmetic. It cannot do floating point arithmetic like ksh93 or zsh
Mar 11, 2011 at 1:05 comment added geekosaur The $((expression)) syntax is part of the POSIX sh standard, and derived from ksh.
Mar 11, 2011 at 0:59 comment added Kurru It does seem to be proper bash, since that works. I am ssh-ing into one of my universities clusters
Mar 11, 2011 at 0:46 history answered Seikku Kaita CC BY-SA 2.5