Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java how to make a number with digits

public class Main {
  public int number = 12; // 'int' is a number in Java. but without digits.
  public double digitNumber = 12.25; // 'double' is a number in Java, but with digits.
}
 
PREVIOUS NEXT
Tagged: #Java #number #digits
ADD COMMENT
Topic
Name
2+4 =