Article View: borland.public.jbuilder.java.language
Article #7448Re: Newbie Truncate question
From: Mark Griffiths
Date: Tue, 19 Jun 2001 20:32
Date: Tue, 19 Jun 2001 20:32
17 lines
1169 bytes
1169 bytes
int anInteger = Math.floor(aDouble); (floor() is a static method in the class java.lang.Math) -- Mark "Phil Barber" <barber@galtney.com> wrote in message news:3b2f52a0_1@dnews... > How do I truncate a double > (in delphi: integer := trunc(double);) > in Java??? > > thanks > Phil. > > >
Technical Details
Message-ID:
<3b2fb6e4_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3b2f52a0_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,568d12e56ba0c6bd X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-06-19 13:44:39 PST From: "Mark Griffiths" <DONT.SPAM.mark@chive.com> Newsgroups: borland.public.jbuilder.java.language References: <3b2f52a0_1@dnews> Subject: Re: Newbie Truncate question Date: Tue, 19 Jun 2001 21:32:31 +0100 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 213.122.140.151 Message-ID: <3b2fb6e4_1@dnews> X-Trace: dnews 992982756 213.122.140.151 (19 Jun 2001 13:32:36 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews