home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoftware Monthly 19…2 Programming Power Tools
/
MASO9512.ISO
/
cpptutor
/
cpptutor.arj
/
CH10
/
A10183.TXT
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-10-18
|
263 b
|
6 lines
The function print1() prints the four Fraction objects
in tabular form. It displays them as pure fractions,
and as mixed fractions with the
whole part separated. It also converts them to floating point
values, truncates them to integers, and inverts them.