@printf: significant digits in floating point representation

but now:

julia> round(.000012340000, sigdigits=3)
1.23e-5
julia> @printf "%.f" round(.000012340000, sigdigits=3)
0.000012

well this is slightly wrong too…um, yea just be a string wrangler for now I guess, sorry bud

2 Likes