Add option to set decimal precision and step value

For testing animations, the duration textfield would often show 0.2 while the default animation duration would be 0.25. That's why I added precision value.

Also sometimes you want to increase it by steps of 1 instead of 0.1, that's why I added step value. 

The (example) code for settings the values may not be ideal, maybe someone can improve on this.