Jump to content

Math

From Squishu Wiki

general

  • floating math is not supported because all math in the shell is performed as integers
  • Put math inside $(()) and assign to a variable

x=9 blah=$(($x+1))