You can solve this with broadcast
c = [1.0, 2.0, 2.0, 1.0]
println(typeof(c))
c = Int.(c) #Change from Float to Int
println(typeof(c))
The dot between Int and c tells Julia to apply the Int conversion elementwise to the array.
Can you be more specific with what you are looking for for an array? If you are just looking to allocate space for a 26 element vector, you can do that by:
Array{Any, 1}(undef, 26)
The Any tells Julia the type of the Array, the 1 tells Julia the dimension of the matrix(above gives you a vector), and undef would allocate the space, but not populate it with anything.