Java, jak zrobić numer z cyframi

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.
}
Bredo