Yes, Tom is making me feel lazy, by all that he's gotten done already! Of
course, the more input the better, please join us!
On Monday, June 22, 2015 at 2:53:58 PM UTC-4, Tom Breloff wrote:
>
> For anyone else that's curious, Scott and I have been discussing this on
> github, and would love inp
For anyone else that's curious, Scott and I have been discussing this on
github, and would love input from others. I have a minimal working example
with a new "fmt" method, but I'd like to work on something that people will
actually use.
On Thursday, June 18, 2015 at 2:08:45 PM UTC-4, Scott Jo
Waiting for your comments, over
at https://github.com/lindahua/Formatting.jl/issues/8!
On Thursday, June 18, 2015 at 1:22:04 PM UTC-4, Tom Breloff wrote:
>
> Yes it was on julia-dev. Regardless I think the right path forward is to
> start a discussion on github (in Formatting.jl) and we could h
Yes it was on julia-dev. Regardless I think the right path forward is to
start a discussion on github (in Formatting.jl) and we could hash out
exactly what would be nice for users. Based on your posts, you may have a
very different perspective on string formatting that your average
developer/
I was aware that it could be any or all of those issues. I was just
stating the facts, not complaining.
Here is what I sent him:
> Hi, I hope you don’t mind a direct e-mail.
> I was pointed at your Formatting.jl package, after I’d made the suggestion
> of adding a fmt function in a new packag
Dahua is pretty busy and lives in a very different time zone. He also may
not want to respond to direct messages.
On Thu, Jun 18, 2015 at 11:44 AM, Scott Jones
wrote:
> I tried directly e-mailing him (after having gotten a lot of grief for
> posting so much!), but I haven't heard back...
>
>
> O
I tried directly e-mailing him (after having gotten a lot of grief for
posting so much!), but I haven't heard back...
On Thursday, June 18, 2015 at 10:30:05 AM UTC-4, Tom Breloff wrote:
>
> Scott: I remember there being another discussion but I can't seem to find
> it. How did you try to get in
Ah, I forgot, it wasn't in julia-users, it was in julia-dev!
https://groups.google.com/forum/#!topic/julia-dev/KloaO7zTYwo
On Thursday, June 18, 2015 at 10:30:05 AM UTC-4, Tom Breloff wrote:
>
> Scott: I remember there being another discussion but I can't seem to find
> it. How did you try to g
You might be thinking of
https://github.com/JuliaLang/julia/issues/10610
On Thursday, 18 June 2015 15:30:05 UTC+1, Tom Breloff wrote:
>
> Scott: I remember there being another discussion but I can't seem to find
> it. How did you try to get in touch? Do you want to start a github issue
> and I
Scott: I remember there being another discussion but I can't seem to find
it. How did you try to get in touch? Do you want to start a github issue
and I'll comment there?
On Thursday, June 18, 2015 at 10:20:08 AM UTC-4, Scott Jones wrote:
>
> This was already discussed recently, here on julia-
This was already discussed recently, here on julia-users, I'm trying to get
in touch with Dahua Lin (author of Formatting.jl)
to see about adding a simpler `sfmt` that would help with this).
On Thursday, June 18, 2015 at 10:13:46 AM UTC-4, Tom Breloff wrote:
>
> I wonder if what we really need is
I wonder if what we really need is just some extra additions to
Formatting.jl (since I think this is the best place to keep standard
formatting calls). We could add fmt2, fmt3, etc which would be meant for
formatting floats to that precision. I suspect that's the most common use
of formatting
You could use a type:
julia> type Out
n::Float64
end
julia> function Base.show(io::IO, n::Out)
print(io, "$(round(n.n, 2))")
end
show (generic function with 83 methods)
then you can just use Out(x) whenever you want x rounded to 2 d.
It certainly does -- thanks a lot!
On Monday, June 15, 2015 at 4:37:35 PM UTC+2, Huda Nassar wrote:
>
> julia> f = open("test2.txt","w")
> IOStream()
> julia> @printf(f,"%0.2f",1/3)
> julia> close(f)
>
> This should do the job
>
> On Monday, June 15, 2015 at 9:50:17 AM UTC-4, Robert DJ wrote:
>>
julia> f = open("test2.txt","w")
IOStream()
julia> @printf(f,"%0.2f",1/3)
julia> close(f)
This should do the job
On Monday, June 15, 2015 at 9:50:17 AM UTC-4, Robert DJ wrote:
>
> Hi,
>
> I would like to write floating point numbers to a file and limit the
> number of digits/decimals. With e.g
julia> f = open("test.txt","w")
IOStream()
julia> @printf(f,"%0.2f",1/3)
julia> close(f)
This should do the job
On Monday, June 15, 2015 at 9:50:17 AM UTC-4, Robert DJ wrote:
>
> Hi,
>
> I would like to write floating point numbers to a file and limit the
> number of digits/decimals. With
16 matches
Mail list logo