Hi ! first of all, i think it's a simple problem for you but I did not find the solution by searching on roll20. Maybe i'm a newbie too to find a tips ^^' So this is my problem : i want to implement this calculation : floor(@{Agility]-5/2)+floor(@[Agility]-5/10)+1 But when I tried, I had a bad result. So I decided to split the calculation and I find this : <input type="number" name="attr_Agility" value="5" /> ==> Agility : 5 <input type="number" name="attr_Agmod" value="@{Agility}-5" disabled="true" /> ==> Default : 0 <input type="number" name="attr_Agfloory" value="floor(@{Agmod}/2)" disabled="true" /> ==> Default : obtain 2 <input type="number" name="attr_Agfloorz" value="floor(@{Agmod}/10)" disabled="true" /> ==> Default : obtain 4 <input type="number" name="attr_Agility_mod" value="@{Agfloorz}+@{Agfloory}+1" disabled="true" /> ==> So, in deed, i obtain 7 Someone can explain where where I was wrong ?