5 Replies Latest reply on Jan 11, 2008 7:25 AM by groveman

    AS 2 math problem

    groveman
      Hi, all

      I am runng the following calculation and would like to limit the answer to two decimal places. What additional script do I need?

      if (speed>0 && hookload>0 && area >0 && drag >1.19999){
      permissible = Math.sqrt(hookload*1.2/(drag*area))*speed

      any suggestions greatly appreciated.