From: Charles Krug Newsgroups: comp.os.msdos.djgpp Subject: Re: Longer number than float Date: Wed, 23 Dec 1998 17:18:52 -0500 Organization: Pentek Corporation Lines: 25 Message-ID: <36816C4C.2CC34AE5@mail.pentek.com> References: <914444712 DOT 515573 AT newsch DOT es DOT co DOT nz> NNTP-Posting-Host: mail.pentek.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Oliver Batchelor wrote: > Is there a variable that has more digits than a float ?? > > i have been using long except thats not very accurate .. How many digits? Floating point or integer? Long long's are 64-bit integers. National debt sized numbers can be expressed as pennies. If you need floating point, check out double or long double. IIRC, double is a synonym for float, but I may be wrong. Charles -- Charles Krug, Jr. Application Engineer Pentek Corp 1 Park Way Upper Saddle River, NJ 07458