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
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?
Develop games in your browser. Powerful, performant & highly capable.
Same goes for the entry for item7.
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?