Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java float

// float numbers are marked with an 'f' in Java
float num1 = 15.51f;
Float num2 = 32.23f;
// they are the 32bit version of double/Double
// watch it: long are marked and not int like here for float/double
 
PREVIOUS NEXT
Tagged: #java #float
ADD COMMENT
Topic
Name
9+5 =