Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I am working on a Statistics page and I need a nice clean looking percentage value.
I am able to get an exact percentage using the divide operator, but in the case of 30% of 100, I am looking for a non-decimal value of "33" not ".33333333333333...".
Lookup int(), round(), and ceil() in the manual.
Develop games in your browser. Powerful, performant & highly capable.
That worked perfectly. Thank you.
It ended up looking something like this:
Resulting in: 33
Multiplying *100 was needed to move the decimal over 2 places.
Yep percentages are either multiplied,or divided, and 0.01 or 100.