I am currently working on a script that displays my currency as follows:
1000 = 1k
1,000,000 = 1m
1,000,000,000 = 1b
1,000,000,000,000 = 1t
1,000,000,000,000,000 = 1q
but if the number should change to 100t the script stops working, because the number the script gets as input 1.0e + 14.

2 comments
If the problem is related to a datastore/leaderboard, i saw something similiar before, and the solution is to change the number to a string.
Try something like #tostring(number) >= 10. That would be the billions btw