#Economy

1 messages · Page 1 of 1 (latest)

crisp mulch
#

So I have an economy variable. It is just a number, but when a player types /bal, if their have something like 1,402,783, I would want it to say 1.4 mil. How would I do that

minor lagoon
vital plaza
#

ie millions thousands etc

#

divide it by 1 million to make it 1.402783

#

so you divide it by 100,000

#

anyways that gets you 14.02783 then you floor it (rounding down)

#

you keep track of what you divided it by