162
rated 0 times
[
168]
[
6]
/ answers: 1 / hits: 134632
/ 8 Years ago, fri, november 18, 2016, 12:00:00
I can't figure it out how to convert this string 82144251
to a number.
Code:
var num = 82144251;
If I try the code below the .toFixed()
function converts my number back to a string...
Question update:
I'm using the Google Apps Script editor and that must be the issue...
num = parseInt(num).toFixed() // if I just do parseInt(num) it returns 8.2144251E7
More From » google-apps-script