bash division with decimal code example Example: bash division integer #To get integer division just use following: echo $((x / y))