Re: [julia-users] trivial but stubborn question on conversion to unix time and Float64

2016-09-23 Thread Yichao Yu
On Fri, Sep 23, 2016 at 11:50 AM, Yichao Yu wrote: > On Fri, Sep 23, 2016 at 11:33 AM, Reuben Brooks wrote: >> Trying to convert a datetime object to unixtime to a string for an api that >> uses unixtime. However, I cannot figure out how to get the result formatted >> in non-scientific notation:

Re: [julia-users] trivial but stubborn question on conversion to unix time and Float64

2016-09-23 Thread Yichao Yu
On Fri, Sep 23, 2016 at 11:33 AM, Reuben Brooks wrote: > Trying to convert a datetime object to unixtime to a string for an api that > uses unixtime. However, I cannot figure out how to get the result formatted > in non-scientific notation: > > julia> a = Dates.datetime2unix(now()); string(rou

[julia-users] trivial but stubborn question on conversion to unix time and Float64

2016-09-23 Thread Reuben Brooks
Trying to convert a datetime object to unixtime to a string for an api that uses unixtime. However, I cannot figure out how to get the result formatted in non-scientific notation: julia> a = Dates.datetime2unix(now()); string(round(a)) "1.474626735e9" What I want is to get: julia>