The error means that you are attempting to put a double value (a value with decimals) in an int (a value without decimals). This will give you an error as the compiler is worried you made a mistake...