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
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 ;
use expression int(string or variable)
Develop games in your browser. Powerful, performant & highly capable.
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.