title: Square root calculation
body: <p>want to calculate square root of given input so i used this code</p>
  
  <pre><code>var no1:Number = 2;
  var no2:Number; //input for calculation
  var total:Number;
  total=Math.pow(no2,(1/no1));
  </code></pre>
  
  <p>its working , but i faced problem such as:-
  if i give </p>
  
  <blockquote>
    <p>no2 = 25;</p>
  </blockquote>
  
  <p>then it shows </p>
  
  <blockquote>
    <p>total=4.9999999</p>
  </blockquote>
  
  <p>to overcome this problem i used below code</p>
  
  <blockquote>
    <p>total=Math.ceil(Math.pow(no2,(1/no1)));</p>
  </blockquote>
  
  <p>but its okey for 25 .</p>
  
  <blockquote>
    <p>total = 5</p>
  </blockquote>
  
  <p>problem was if i give 21,22,23,24</p>
  
  <p>for all this input it shows 5</p>
  
  <p>so is there any other solutions ???</p>