I explain:
I'm making some idle/clicker game, and when you buy something from the shop, the item's price value should multiply itselft by 1,2.
But:
The price is 10 basically, and here what it going on:
10
*first buy*
12
*second buy*
14,4
*third buy*
17,28
and it add so much decimals that the text start to be off the screen.
So how I remove decimals from values ?
To make something like this:
10
*first buy*
12
*second buy*
14
*third buy*
16
A thing like that
So how do I remove decimals from values ?