From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,19805810c471a6af X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-06 15:08:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.stealth.net!news.stealth.net!news-out.visi.com!hermes.visi.com!attcg2!attcg1!ip.att.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Decimals after the point (school question) Date: 6 Nov 2002 16:08:30 -0600 Organization: LJK Software Message-ID: References: <4bhy9.52855$T_3.627411@wagner.videotron.net> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1036624067 361 192.135.80.34 (6 Nov 2002 23:07:47 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 6 Nov 2002 23:07:47 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:30486 Date: 2002-11-06T16:08:30-06:00 List-Id: In article <4bhy9.52855$T_3.627411@wagner.videotron.net>, "Genevieve B." writes: > For a project at university, there is a bonus that is to check for only 2 > decimals after the point in a float. > does anybody have an idea? > > I have an idea of putting my float into a string instead and then check for > the point...and then check for only 2 numbers after it... What part of the bonus do we get to share ?