Staredit Network > Forums > SC2 Assistance > Topic: Money Display
Money Display
Jan 29 2017, 8:28 pm
By: Bolshevik09  

Jan 29 2017, 8:28 pm Bolshevik09 Post #1



Working on a Economy type system and i want to incorporate a Money Formula that would abbreviate money as following...
$1 -> $999,999 = Normal with commas where as needed. Do not want to use "K"
$1,000,000 -> $999,999,999 = Shown as $1.0M -> $999.9M, two digit decimal
$1,000,000,000 -> $999,999,999,999 = Shown as $1.0B -> $999.9B, two digit decimal
and so forth, trillions quadrillions etc

Now i understand variables and the functions of arithmetic quite well. Has this been done before and a efficient way of doing so?

Post has been edited 1 time(s), last time on Jan 29 2017, 8:33 pm by Bolshevik09.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
Please log in to shout.


Members Online: Tableguy, DiearAnother