Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!aioe.org!.POSTED.INlR8A27O6lWJLr2jK8YsQ.user.gioia.aioe.org!not-for-mail |
|---|---|
| From | "Dr.UgoGagliardelli" <do.not.spam@me.please> |
| Newsgroups | it.comp.java |
| Subject | Re: perchè mi restituisce un intero? |
| Date | Sun, 2 Jun 2019 01:18:10 +0200 |
| Organization | Aioe.org NNTP Server |
| Lines | 10 |
| Message-ID | <qcv15r$15ns$1@gioia.aioe.org> (permalink) |
| References | <qcuvcq$u82$1@gioia.aioe.org> |
| NNTP-Posting-Host | INlR8A27O6lWJLr2jK8YsQ.user.gioia.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
| X-Antivirus-Status | Clean |
| X-Antivirus | Avast (VPS 190601-4, 01/06/2019), Outbound message |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| Content-Language | it-IT |
| Xref | csiph.com it.comp.java:9292 |
Show key headers only | View raw
Il 02.06.2019 00.48, Pino ha scritto: > Nel codice seguente,se assegno 10 e 3 ai due interi, la divisione mi > restituisce 3.0 anzichè 3.333333 > > Come mai? Perche' sia n1 che n2 sono interi, e la divisione per interi risulta sempre in un intero. Avresti dovuto fare: double divisione = ((double)n1)/n2;
Back to it.comp.java | Previous | Next — Previous in thread | Next in thread | Find similar
perchè mi restituisce un intero? Pino <utr1utr@gmail.com> - 2019-06-02 00:48 +0200
Re: perchè mi restituisce un intero? "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2019-06-02 01:18 +0200
Re: perchè mi restituisce un intero? Pino <utr1utr@gmail.com> - 2019-06-02 15:06 +0200
csiph-web