Java comment faire un numéro avec des chiffres

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