Fix for IE8

The decimal change does not work in IE8. With this change it does.