title: Calculate 1.5 overtime pay hit invalid arithmetic operator error
body: <p>I'm trying to calculate 1.5 overtime pay for employee but having syntax error "invalid arithmetic operator". Do I need to indicate any special command for decimal calculation?
  Thanks.</p>
  
  <p>Error:</p>
  
  <pre><code>Enter employee name: Mary
  Mary is Hourly employee.
  Enter hourly wage:1
  Enter hours worked this week:42
  ./Assignment2.sh: line 196: let: hwages = (40 * hsalary) + (overtime * 1.5 * hsalary): syntax error: invalid arithmetic operator (error token is ".5 * hsalary)")
  Gross wages: $
  Hit [Enter] to return to main menu...
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>   elif [ "$EmployeeType" = "Hourly" ]
     then
      echo -en "Enter hourly wage:"
      read hsalary
      echo -en "Enter hours worked this week:"
      read hours
      if [ "$hours" &gt; 40 ]
      then
      let "overtime = hours - 40"
      let "hwages = (40 * hsalary) + (overtime * 1.5 * hsalary)"
      else
      let "hwages = hsalary * hours"
      fi
      echo -en "Gross wages: \$$hwages"
      echo 
  </code></pre>