Changing default printing options in JuMP

question

#1

Is there a way to change the default printing options? Specifically, I am using getdual() and it is returning values like 0.0 and I want to see more of this number


#2

The @printf macro can be used to print numbers with an arbitrary number of decimal places. For example:

julia> x = 1e-10
1.0e-10

julia> @printf "%.16f" x
0.0000000001000000
julia> @printf "%.32f" x
0.00000000010000000000000000364322