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
I've been trying to show only two decimals from a variable.
To do so, I use : int(NUMBER*100)/100
But it do not work.
<img src="https://www.dropbox.com/s/fln9seqkyn1mata/codigo.jpg" border="0">
And the project file is:
Why it do not act as suposed?
Same goes for the entry for item7.
Develop games in your browser. Powerful, performant & highly capable.
True! It works
It's because with the brackets including the last /100, it turns all into an int number?
Although, the other way turn it into a real number...
This is the reason?