Yes, do me a favour and console.log the data type, like so:
console.log("Data type = "+ typeof avg);
assuming that “avg” is now the name without the toFixed
Yes, do me a favour and console.log the data type, like so:
console.log("Data type = "+ typeof avg);
assuming that “avg” is now the name without the toFixed