Easy way to format big numbers for idle / incremental games

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • Good Job ! I never Tried this method , I usually to the same but with a different method

    if the number is between 999 and 999999 set text = "$ "&floor(Money/1000)&"K" and so on

    when it reaches Trillion I restart everything with a different triger variable with different names like Zillion , megazilion etc , but your method is better , what do I need to do if I want to increment the number? I tryed to fill with more arrays and didt work , Thanks

    • Thanks, if it did not work it could be because you've hit the number limit from Construct or you may have forgotten to increase Array size.

      If you want to change how many digits you want to show (before units like changing 1m to 1000k) you should play around with the denominator (1000 / 100 / 10 as default) in the formula AND change the "+3" value at the second part of the same formula.