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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,39724010749e0909 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-29 19:42:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!sccrnsc01.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: Subject: Re: Newbie Question: Floating Point Decimal Rounding X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: NNTP-Posting-Host: 12.211.13.75 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc01 1043898140 12.211.13.75 (Thu, 30 Jan 2003 03:42:20 GMT) NNTP-Posting-Date: Thu, 30 Jan 2003 03:42:20 GMT Organization: AT&T Broadband Date: Thu, 30 Jan 2003 03:42:20 GMT Xref: archiver1.google.com comp.lang.ada:33589 Date: 2003-01-30T03:42:20+00:00 List-Id: You could use: float'Rounding( value * 100.0 ) / 100.0; Steve (The Duck) "Sam T" wrote in message news:b194ob$uv$1@saturn.bton.ac.uk... > Hey, > I need to round a float to 2 decimal points > Any ideas? > >