used this example
julia> arr=[0,0,0];
julia>digits!(arr,123,10)
Get this output from Julia.
ERROR: LoadError: no method matching digits!(::Vector[Int64}, ::Int64, ::Int64)
used this example
julia> arr=[0,0,0];
julia>digits!(arr,123,10)
Get this output from Julia.
ERROR: LoadError: no method matching digits!(::Vector[Int64}, ::Int64, ::Int64)
The last argument is actually a keyword argument called base
.
digits!(array, n::Integer; base::Integer = 10)
Thx!