Formatting numbers

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

oHeckGage

Active Member
Mar 24, 2020
110
6
18
22
I need to make my numbers (Ex: 100,000) to be shortened to 100K for example for my leaderboard. I've looked all over but the only thing I can find is where you add a comma every 3 numbers. Any help?
 
You can try this:
Code:
if {ex} is "100000":
     set {ex.format} to "100K"
 
Last edited:
No you can't cause if it was something like 101000, you'd be formatting it to 100k, not 101k, and I don't want to type out every thousand up to the trillions lmfao
 
Status
Not open for further replies.