Money formatting system

okay, so I recently got back into playing gimkit after quitting for a while, and for my first game, I’m trying to recreate steal a brainrot in gimkit (but actually good), so far, I have the working red carpet, but I need a system to format money amounts (Im using a custom property instead of the in-game money) EX: 1,000 becomes 1K etc. idk if this is doable, but any help would be much appreciated :smiley: (also, money will be shown on an overlay, idk if that helps) (also ty to Gimkit_Lover for the very quick re-tagging T-T)

2 Likes

what do you need help with exactly?
like the property? like what?

1 Like

What do you need help with?

1 Like

I need a system that converts a number string into a formatted peice of text, for example if i put in 1000, it would return 1K, 100000000 would be 100M, etc

3 Likes

How many suffixes do you want, and do you want a system that automatically creates new suffixes after all the ones in memory are exhausted? I could get the former (first one) done pretty quickly, but the latter (last one) might take a little longer.

2 Likes

I tried making it but my way isnt working!

1 Like

I would probably want up to 1B, and it probably wouldn’t need to make new ones, also i could probably make some adjustments myself

2 Likes

oh, and also, if the players money isnt exactly a number (for example 1230000) would it show as 1.23M? or just 1M

2 Likes

Here.


Put this in the overlay that displays your money, and run it whenever you want to update the count that is shown.
It will always show 3 decimal places if they’re available.

Yep! It’d show as 1.23m.

2 Likes

thank youuu!

2 Likes

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