Thread
:
Having trouble using the ROUND function.
View Single Post
Mathias
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
December 4th, 2017, 12:48 PM
At 1st level, level/4 = 0, but you want to add +5 at 1st level, so you want to add 1 to the total you're calculating, and then multiply it.
Code:
field[abValue].value += (round(field[xTotalLev].value / 4, 0, -1) + 1) * 5
#
2
Mathias
View Public Profile
Send a private message to Mathias
Find More Posts by Mathias