How to display Float64 with more digits

Rather than hacks, you can use:

julia> show(IOContext(STDOUT, :compact=>false), "text/plain", randn(2))
2-element Array{Float64,1}:
  1.3718634685435964 
 -0.13288472215889663

That is, you write to an IOContext stream with the :compact property set to false.

10 Likes