You can use @sprintf, e.g. @sprintf("%f\n",1.3e9).

2014-02-08 22:10 GMT+01:00 Randy Zwitch <[email protected]>:

> I'm trying to use the time() function within string interpolation, but
> it's not producing the desired result:
>
> julia> time()
>
> 1.391893797590157e9
>
> julia> "$(time())"
>
> "1.391893808023869e9"
>
> How do I get the float representation?
>



-- 
Med venlig hilsen

Andreas Noack Jensen

Reply via email to