Liczba programu cyfr w Javie
int numOfDigits = ((int) Math.floor(Math.log10(number))) + 1
Fair Finch
int numOfDigits = ((int) Math.floor(Math.log10(number))) + 1