Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java float data type

class Main {
  public static void main(String[] args) {
    	
    float number = -42.3f;
    System.out.println(number);  // prints -42.3
  }
}
 
PREVIOUS NEXT
Tagged: #Java #float #data #type
ADD COMMENT
Topic
Name
7+4 =