Any ideas how I can improve this? ex: 1,000 > 1k

can you explain what this does? sorry, im not into math

You could just try using it lol, it abbreviated any number inputted into it, and allows you to switch the notation to either scientific (1) or letters (2, also default):

Shows 1.3e5:

print(Abbreviate(134500,1))

Shows 134.5K:

print(Abbreviate(134500,2))

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.