Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

Single post in A Somewhat Extensive Guide to BBCodes

Forum Index > PokéFarm > Guides > A Somewhat Extensive Guide to BBCodes >

Ursaring's AvatarUrsaring
Ursaring's Avatar

QUOTE originally posted by omg

im sorry if this has been asked before, but i was wondering if theres any way to round the results of the math bbcode, just to the nearest whole number? or is there a way to even just hide the numbers after a decimal altogether, and just show the whole number? its okay if not, its easy to just make do with what we've got now ofc ^^ was just curious if anyone had pointers in how i could play with that!!
The easiest way to do this is using [number][math]3.55[/math][/number]. This will give 3 (always round down) If you want to round to the nearest whole number then add 0.5 to the answer [number][math]3.55[b]+0.5[/b][/math][/number]. This will give 4
Please visit my shop
Avatar by Sharpy for my use only / Shop button by hamster
© PokéFarm 2009-2024 (Full details)Contact | Rules | Privacy | Reviews 4.6★Get shortlink for this page