title: Converting Decimals to Integers from getValues()
body: <p>I'm ready data from my Google Sheets doc with the following line</p>
  
  <pre><code>startRow = 4;
  sheet = SpreadSheetApp.getActiveSheet();
  data = sheet.getRange(startRow,1,8,23).getValues();
  </code></pre>
  
  <p>I'm looping through these values and want to send them in to Google Analytics as an event value however when I log the values I get for data they come out as decimals, for example, 987.0.</p>
  
  <p>I've formatted the cells so that they don't have any decimal points and have also made sure the data itself contains no decimal points. </p>
  
  <p>Is there anyway that I can convert the values in data from a decimal to an integer? </p>
  
  <p>Appreciate any help.</p>