title: Round minutes to only two decimals
body: <p>I am making a countdown in React by parsing a string date from state and calculating the remaining minutes to that date and showing the days,  hours that are left, here is my state:</p>
  
  <pre><code>class App extends Component {
      constructor(props) {
          super(props)
          this.state = {
              deadline: 'August 05, 2018'
  
          }
      }
  
      render() {
          return (
              &lt;div className="App"&gt;
                  &lt;div className="App-title"&gt;Offer Expires: {this.state.deadline}&lt;/div&gt;
                 &lt;Clock
                 deadline = {this.state.deadline}
                 /&gt;
  
              &lt;/div&gt;
          )
      }
  }
  
  export default App;
  </code></pre>
  
  <p>and here is my method that calculates the days,minutes,hours:</p>
  
  <pre><code>getTimeUntil(deadline) {
      const time = Date.parse(deadline) - Date.parse(new Date());
      const seconds = Math.floor((time / 1000) % 60);
      const minutes = Math.floor(time / 1000 * 60);
      const hours = Math.floor((time / (1000 * 60 * 60)) % 24);
      const days = Math.floor(time / (1000 * 60 * 60 * 24));
  
      this.setState({ days, hours, minutes, seconds });
    }
  </code></pre>
  
  <p>The problem is that it returns the minutes in the following format in milliseconds:</p>
  
  <p>Days:5 Hours:11 Minutes:28467780 Seconds:54 </p>
  
  <p>And I want to round them to two decimals like:</p>
  
  <p>Days:5 Hours:11 Minutes:28 Seconds:54</p>
  
  <p>I have tried to add the <code>minutes.toFixed(2)</code> and <code>minutes.toPrecision(2)</code>
  but it did not round them, how can I do that?</p>