
I am building a character sheet for a rpg my friend made and one of the input fields is not doing the math correctly. The line is below. <td><input type="number" name="attr_defense" value="ceil(@{skillMobility}/2)+10" disabled="true" /></td> When I save the code and reload the campaign screen to look at working sheet I put 2 points into Mobility and Defense returns 12 instead of 11. Is my syntax wrong or is the math bugged?