Check for decimals

Added a check such that decimal inputs are no longer valid