New answers tagged


There are a few issues with your code. You should always use BigNumber when using integers. JavaScript can't handle big numbers. Even if you know the numbers will never be too big, in my opinion it's simply good habit to always use BigNumber. You are passing strings to your function. ‘1630972800’ is a string, not a number. My guess is that it gets ...

Top 50 recent answers are included