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

forcing output type



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