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
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
can u help me how to convert digit to integer
2.333 will be converted to 2
2.666 will be converted to 3
so digit will be converted to Closest integer ;
Develop games in your browser. Powerful, performant & highly capable.
use expression int(string or variable)
also, if you want only the rounded down valor, use floor, and ceil to the rounded up valor.
Joannesalfa - int(number) will round down, so 2.666 will give 2 instead of 3. Use the floor(number) expression instead.