fnum \- print number in one or more formats.SH SYNOPSIS
\fInumber\f \fIformat1\f [format2...]
can be an integer or a floating point. Number with exponential symbol `e' is accepted (eg. 1.32e3; 123e-2) and will be treated as a floating point.
The formatting string,
follows the conventions of the format argument in ANSI C's \fIprintf\f command. The number can be printed in more than one format and adjacent outputs are separated by a space.
The following command lines produce the corresponding outputs:
.SH SEE ALSO
Attempts to print a floating point in integer format
(eg.fnum 123.4 %d) will result in garbage output. Similarly, trying to print integer in floating point format does not work. .rs
SOI Version 0.8
.#$Id: fnum.1,v 1.1 1994/02/17 00:10:10 CM Exp $ .#$Source: /home/soi/CM/man/man1/RCS/fnum.1,v $
.#$Author: CM $