Blockland Forums > Modification Help

Making Pickupable Gold

Pages: << < (3/3)

jes00:

So how do you use mCeil and mFloor? I've never used mCeil or mFloor.

Port:

mCeil(number) - returns the number rounded up
mFloor(number) - returns the number rounded down

That's how you use them. In case you need this too:
mFloatLength(number, 0) - returns the number rounded up or down dependent on what's closest

PurpleMetro:

I tried making a VCE rpg once with pickup-able gold. I kept getting fractions of gold after killing monsters so thats how I found out about Ceil/Floor. Round your gold up so you can get a whole number.

Pages: << < (3/3)

Go to full version