Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java integer division tofloat

instead of writing
v = s/i (this does integer division)
write v = (float)s/i
 
PREVIOUS NEXT
Tagged: #java #integer #division #tofloat
ADD COMMENT
Topic
Name
6+6 =