1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Custom number formatting

Discussion in 'Skript' started by dxcf, Apr 8, 2020.

Thread Status:
Not open for further replies.
  1. dxcf

    dxcf Member

    Joined:
    Apr 8, 2020
    Messages:
    26
    Likes Received:
    0
    So I was wondering is there anyway to format number to be like

    • 1000 > 1K
    • 1000K > 1M
    • 1000M > 1B
    • 1000B > 1aa
    • 1000aa > 1ab
    • etc
    If its possible with functions It will be good.
     
  2. Best Answer:
    Post #2 by GuardDev, Apr 8, 2020
  3. GuardDev

    GuardDev Member

    Joined:
    Apr 5, 2020
    Messages:
    19
    Likes Received:
    4
    Use the MirrorUtils skript
    Example:
    Code (Text):
    1. send "%formatted 1000000000 rounded to 3%"
     
    dxcf likes this.
Thread Status:
Not open for further replies.

Share This Page

Loading...