title: javascript round up from 3rd decimal
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4817296/javascript-ceiling-of-a-dollar-amount">javascript - ceiling of a dollar amount</a>  </p>
  </blockquote>
  
  
  
  <p>I have a number like this: 360.654444444447</p>
  
  <p>I want this to round up to 360.66</p>
  
  <p>How do i do it? The amount of 4's between the 5 and 7 is unknown.</p>
  
  <p>EDIT: The key issue here is that when the decimals after the 2nd would round to 5, it should round up. (ie: 360.654447 can be rounded to 360.655 - and that should round to 360.66</p>
  
  <p>It's similar to the PHP_HALF_ROUND_MODE thing.</p>