csharp divide two integers get float

Code Example - csharp divide two integers get float

                
                        double num3 = (double)num1/(double)num2;
float num3 = (float)num1/(float)num2;