Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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...".
Develop games in your browser. Powerful, performant & highly capable.
Lookup int(), round(), and ceil() in the manual.
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.