Nov 28 2012, 07:18 PM
Ahh that mistake always screwed me over, the int type truncates any decimal. Solve by adding decimals and type casting to turn it into a value that accepts decimals such as a float or double, which is what bison did :p


![[-]](https://war-lords.net/forum/images/collapse.png)