Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# divide two integers get float

double num3 = (double)num1/(double)num2;
float num3 = (float)num1/(float)num2;
 
PREVIOUS NEXT
Tagged: #divide #integers #float
ADD COMMENT
Topic
Name
5+9 =