Calculate field not working when decimals are used