| cvs.gedasymbols.org/archives/browse.cgi | search |
| From: | Mark Levis <mlevis AT voyager DOT net> |
| Newsgroups: | comp.lang.c,comp.os.msdos.djgpp |
| Subject: | Re: having trouble with long numbers |
| Date: | Tue, 29 Jul 1997 18:33:08 -0400 |
| Organization: | Voyager Information Networks, Inc. |
| Lines: | 16 |
| Message-ID: | <33DE6FA3.460B59E@voyager.net> |
| References: | <01bc9c51$0ceeec80$78ed1fcc AT darkstar> |
| NNTP-Posting-Host: | 207.74.97.95 |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Michèle C. Dupré wrote: >>I want to be able to have more than 10 digits print out (if the age were >>10,000 years for example). >>I am new to C (and programming in general) and teaching myself, so any >>criticism will be appreciated. Use a double. It will have precision up to 14 digits. An int will only handle number from -32767 to 32768. unsigned int 0 65535
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |