The last argument is actually a keyword argument called base.
base
digits!(array, n::Integer; base::Integer = 10)