I am using google apps script to implement a function where I need to run ForEach loop over an Array of long integer but it is rounded automatically.
function test(){
const arr = [1269771000012086445,1269771000011309247];
arr.forEach(function(a){
Logger.log(JSON.stringify(a));
})
}
If we run the below code it will give this output :-
1269771000012086500
1269771000011309300
I tried to a few inbuilt math function but no expected output,Is there anything else that I have missed.
URL of the sample sheet - : https://docs.google.com/spreadsheets/d/1q9OPCC1nHV-8ROCzmF8ALMAhFp1ml4BvZLqDLfSxLYY/edit?usp=sharing