Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
forcing output type
- X-seq: zsh-users 4271
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: forcing output type
- Date: Sun, 23 Sep 2001 11:40:54 -0400
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Is there a way to get either
print $(( 2/3 ))
or
float f; (( f = 2/3 )); print $f
to output the equivalent of what would be output
if, for instance, the "2" were replaced by "2.0"?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author