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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,edb6dd3a3f93fcc0,start X-Google-Attributes: gid103376,public From: phadreus@my-dejanews.com Subject: trunc Date: 1999/03/18 Message-ID: <7crcfm$tp0$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 456155569 X-Http-Proxy: 1.0 x12.dejanews.com:80 (Squid/1.1.22) for client 208.238.117.2 Organization: . X-Article-Creation-Date: Thu Mar 18 17:17:51 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; U) Date: 1999-03-18T00:00:00+00:00 List-Id: what's the most efficient way within Ada to obtain the whole-number portion Y of a floating-point number X? for example, X = 5.5 Y = 5.0 X = 2.9 Y = 2.0 -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own