Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java integer division to float

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