If precision is set to 1 (or 2 for negative numbers) the wrong number is shown.
julia> Showoff.format_fixed_scientific(1e-7, 1, true)
"10×10⁻⁹"
Correct but looking strange :
julia> Showoff.format_fixed_scientific(1e-8, 1, true)
"10.×10⁻⁹"
With precision being large enough, negative values are technically correct, but differ from expectation:
julia> Showoff.format_fixed_scientific(1e-3, 3, true)
"1000.×10⁻⁶" # should probably be 1.0×10⁻³"
julia> Showoff.format_fixed_scientific(1e-4, 3, true)
"100.0×10⁻⁶"
julia> Showoff.format_fixed_scientific(1e-5, 3, true)
"10.00×10⁻⁶"
julia> Showoff.format_fixed_scientific(1e-6, 3, true)
"1000.×10⁻⁹" # should probably be 1.0×10⁻⁶"
If precision is set to 1 (or 2 for negative numbers) the wrong number is shown.
Correct but looking strange :
With precision being large enough, negative values are technically correct, but differ from expectation: