Hello Monica.
This answer was given in a service request of freescale.
We can use type cast to convert long int to float. For example:
volatile long int l_val=5;
volatile float f_result,f_val=1.23;
f_result=(float)l_val/f_val;
In above code " l_val " computes as float.