Terrific. Thanks.
On Friday, May 13, 2016 at 7:48:54 PM UTC-4, Tom Breloff wrote: > > Check out the Formatting package, as well as the spin-off > https://github.com/ScottPJones/StringUtils.jl > > On Friday, May 13, 2016, Salman Haider <shk...@gmail.com <javascript:>> > wrote: > >> Hey guys, >> >> I have code littered with round() or trunc() as follows: >> println("β1: ", trunc(exp(results.minimum[2]), 3)) >> >> Is there a way to either set println() defaults or run it through a >> decorator to limit the number of decimals it dumps on screen such that i >> end up with code like the following but same results as above? >> println("β1: ", exp(results.minimum[2])) >> >> Thanks. >> >