Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: why do ceil/floor give the decimal dot?
On May 15, 2:46am, Oliver Kiddle wrote:
}
} Note that if you're using zsh's builtin printf, parameters corresponding
} to format specifiers such as %d are automatically evaluated in math
} context. So you can just do:
} printf '%d\n' 1e20
Well, except that 1e20 is too large to fit in an integer. Did you mean
printf '%g\n" 1e20
??
Messages sorted by:
Reverse Date,
Date,
Thread,
Author