Haven't really been able to find much about this. Though compiler doesn't seem to complain when I initialize a variable of type
double a = 1.0;
float b = a;
The size of the created variable is different. "float = 4 bytes" and "double = 8 bytes". Hence, what is important here is the range of values are different for both types. If you use small values as 1.0 it should not effect the workflow.