Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!aioe.org!.POSTED.hqPgifCF1TaqUfx+6Uvsxg.user.gioia.aioe.org!not-for-mail |
|---|---|
| From | Pino <utr1utr@gmail.com> |
| Newsgroups | it.comp.java |
| Subject | Re: perchè mi restituisce un intero? |
| Date | Sun, 2 Jun 2019 15:06:58 +0200 |
| Organization | Aioe.org NNTP Server |
| Lines | 13 |
| Message-ID | <qd0hlo$1hfp$1@gioia.aioe.org> (permalink) |
| References | <qcuvcq$u82$1@gioia.aioe.org> <qcv15r$15ns$1@gioia.aioe.org> |
| NNTP-Posting-Host | hqPgifCF1TaqUfx+6Uvsxg.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.6.1 |
| Content-Language | it |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| Xref | csiph.com it.comp.java:9293 |
Show key headers only | View raw
Il 02/06/2019 01:18, Dr.UgoGagliardelli ha scritto: > 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; > capito!
Back to it.comp.java | Previous | Next — Previous 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