Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Honor precision for strings #83

Open
jmkuhn opened this issue Jul 13, 2020 · 1 comment
Open

Honor precision for strings #83

jmkuhn opened this issue Jul 13, 2020 · 1 comment

Comments

@jmkuhn
Copy link
Contributor

jmkuhn commented Jul 13, 2020

julia> s = "123456789"
"123456789"

julia> printfmtln("{}--{:6.6s}", s, s) 
123456789--123456789

This should produce 123456789--123456

ScottPJones referenced this issue in JuliaString/Format.jl Feb 15, 2024
ScottPJones referenced this issue in JuliaString/Format.jl Feb 15, 2024
@ScottPJones
Copy link
Collaborator

This is fixed in JuliaString/Format.jl (along with many other bugs), I would recommend moving to Format.jl.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants