Use
Hi, so I was working on my discord bot with some user ids that I stored in a database, which then I will get back to ping them or give them roles.
Problem
Though here's the problem, in the database they get turned from ex: 533692905387196429
to 533692905387196400
. I tried setting that to a String, and it worked, in the database, it's stored fully how it's supposed to be. But, when I get them back from the database and turn them into a number or an integer they get turned back to ex: 533692905387196400
.
Tried using
I tried using parseInt()
, parseFloat()
and Number()
but all of them give the same result.
More info
Also if I remove 2 digits for example: 533692905387196429
I remove 19
from there, it will give back 533692905387(19)6429
instead of 533692905387196429
and instead of 533692905387196400
.