Shortening API result

Im trying to pull total supply from bscscan but get the extra 9 decimal places on the response.
I’m trying to shorten with the code below. Please take a look and tell me what I’m missing.

Response I receive:

What I need:

Thank you!

  const api_url = '';
  async function getSupply() {
    const response = await fetch(api_url);
    const data = await response.json();
    const { result } = data;
    var num = result;
	var str = num.toString();
  var value = str.substring(0,11) 
  value = parseInt(value);
  document.getElementById('result').innerHTML = value;


Read the part about decimals in: