You could try by overriding the Base.show()
method in julia like so:
import Printf
function Base.show(io::IO, f::Float64)
Printf.@printf(io, "%.4f", f)
end
After executing this code, any Float64 value printed to the terminal will be rounded to four decimal places.