how do i round a number in 10,20,30,40 etc.

Get help using Construct 2

Post » Tue Jul 08, 2014 9:37 pm

how do i round a number in 10,20,30,40 etc. :?
B
5
Posts: 24
Reputation: 271

Post » Tue Jul 08, 2014 9:54 pm

Ex value = 183
round(value/10)*10 = 180

Ex value = 187
round(value/10)*10 = 190
B
20
S
7
G
1
Posts: 221
Reputation: 2,077

Post » Wed Jul 09, 2014 12:32 pm

troublesum wrote:Ex value = 183
round(value/10)*10 = 180

Ex value = 187
round(value/10)*10 = 190

thx
B
5
Posts: 24
Reputation: 271


Return to How do I....?

Who is online

Users browsing this forum: Lancifer, nahima and 16 guests