Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: arithmetic anomaly



On 2021-03-26 10:09 a.m., Lawrence Velázquez wrote:

     printf '%s %.0f\n' 'zsh (%.0f):' '22.0**22'

Interesting I was formatting with the same ' %.0f ' but getting  the ca. 200 character output.  ' %s ' is no improvement.  How do I get her to trim it down?  Mind, ' %d ' seemed just fine.  I don't think much more needs to be said about this.






Messages sorted by: Reverse Date, Date, Thread, Author