if you create an integer with the value 10.10 (in scripting) then this will be a double.
then if you make this 10 again it will stay a double.
if you make a variable in js that has the value 10 it will be a integer. But if you change it then to 10.10 we will convert it to a double