zsh-users
 help / color / mirror / code / Atom feed
* forcing output type
@ 2001-09-23 15:40 Clint Adams
  2001-09-23 15:47 ` Zefram
  0 siblings, 1 reply; 3+ messages in thread
From: Clint Adams @ 2001-09-23 15:40 UTC (permalink / raw)
  To: zsh-users

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"?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-09-23 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-23 15:40 forcing output type Clint Adams
2001-09-23 15:47 ` Zefram
2001-09-23 16:13   ` Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).