You cannot combine or use different types of variables together. You need to convert them all to the same type so that you can separate them. The easiest way that I see this happen is to make Int Double. You can do this quite simply by adding ".0" to the end of the whole you want to convert.
In addition, FYI: Floats are rarely used, so if you do not use them for something specific, its also just more liquid to use the more common variables.
source share