title: Typescript: Argument of type 'number' is not assignable to parameter of type 'string'
body: <p>Trying to figure out a simple way to drop decimals of a number in TypeScript.  Based on what I could find, the ParseInt method should work, but getting the error</p>
  
  <pre><code>Argument of type 'number' is not assignable to parameter of type 'string'
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>function testFunction (frame_count: number, frame_count_correct: number): number {
  let score: number = 0 
  if (frame_count &gt; 1) {
      score = frame_count_correct/frame_count
  } else {
      score = 0
  }
  
  return parseInt(score);
  </code></pre>
  
  <p>}</p>