Jumlah program digit di java
int numOfDigits = ((int) Math.floor(Math.log10(number))) + 1
Fair Finch
int numOfDigits = ((int) Math.floor(Math.log10(number))) + 1