Discuss Scratch

St19_Chuba
Scratcher
99 posts

Number Abbreviation Calculator?

Hello! I'm making a tycoon game, and I need some way of converting numbers like 980,700 into 980.7K or 1098970 into 1.0M, as numbers on the game go very high and it would be difficult to read 8628930408178969276781293492367819350.

There is a way of doing it, but it requires a script for every number length and that would strain the flash player to the point where it would be unplayable. Any help or suggestions?

Last edited by St19_Chuba (Nov. 10, 2016 19:09:21)

Aronix
Scratcher
77 posts

Number Abbreviation Calculator?

I don't know the exact method but I would check out theChaotic's projects. I believe he uses a system that is similar to what you're asking.
dimitrip
Scratcher
500+ posts

Number Abbreviation Calculator?

Hi.

This might help.

Greetz,

Dimitri
19f8361
Scratcher
500+ posts

Number Abbreviation Calculator?

St19_Chuba wrote:

Hello! I'm making a tycoon game, and I need some way of converting numbers like 980,700 into 980.7K or 1098970 into 1.0M, as numbers on the game go very high and it would be difficult to read 8628930408178969276781293492367819350.

There is a way of doing it, but it requires a script for every number length and that would strain the flash player to the point where it would be unplayable. Any help or suggestions?

i dont know the exact method but i have a number abberivation script on backpack; i will plan to share the project with that abberivator.

according to my number skills, 1098970 equals 1.1M not 1.0M. if i can convert 8628930408178969276781293492367819350, it would equal 8.6 undecillion.
St19_Chuba
Scratcher
99 posts

Number Abbreviation Calculator?

dimitrip wrote:

Hi.

This might help.

Greetz,

Dimitri

Thanks, it works perfectly!
orrinpants
Scratcher
100+ posts

Number Abbreviation Calculator?

19f8361 wrote:

St19_Chuba wrote:

Hello! I'm making a tycoon game, and I need some way of converting numbers like 980,700 into 980.7Kor 1098970 into 1.0M, as numbers on the game go very high and it would be difficult to read 8628930408178969276781293492367819350.

There is a way of doing it, but it requires a script for every number length and that would strain HTML5 to the point where it would be unplayable. Any help or suggestions?

I don't know the exact method but I have a number abbreviation script on a backpack; I will plan to share the project with that abbreviator.

according to my number skills, 1098970 equals 1.1M, not 1.0M. if I can convert 8628930408178969276781293492367819350, it would equal 8.6 undecillion.
how much is 1DD? 1 dedecillion?

Last edited by orrinpants (Nov. 21, 2020 02:34:24)

Nezon
Scratcher
1000+ posts

Number Abbreviation Calculator?

orrinpants wrote:

19f8361 wrote:

St19_Chuba wrote:

Hello! I'm making a tycoon game, and I need some way of converting numbers like 980,700 into 980.7Kor 1098970 into 1.0M, as numbers on the game go very high and it would be difficult to read 8628930408178969276781293492367819350.

There is a way of doing it, but it requires a script for every number length and that would strain HTML5 to the point where it would be unplayable. Any help or suggestions?

I don't know the exact method but I have a number abbreviation script on a backpack; I will plan to share the project with that abbreviator.

according to my number skills, 1098970 equals 1.1M, not 1.0M. if I can convert 8628930408178969276781293492367819350, it would equal 8.6 undecillion.
how much is 1DD? 1 dedecillion?
Please don't necropost.

I believe you already know what necroposting is, but i'll still give a link Necropost
Gato_Amigo111
Scratcher
500+ posts

Number Abbreviation Calculator?

I'm making a tycoon game where the numbers go into the billions and I want to round them (ex. 1000000 = 1 mil). I'm not sure how to do this.
looptergdisaac
Scratcher
6 posts

Number Abbreviation Calculator?

whenbackdropswitchestosjdidjij
The_Imaginarium
Scratcher
1000+ posts

Number Abbreviation Calculator?

looptergdisaac wrote:

whenbackdropswitchestosjdidjij
Please don't necropost
Requested to be closed.

Powered by DjangoBB