Path: csiph.com!aioe.org!.POSTED.hqPgifCF1TaqUfx+6Uvsxg.user.gioia.aioe.org!not-for-mail From: Annibale Newsgroups: it.comp.java Subject: che arrotondamento fa? Date: Sat, 5 Oct 2019 14:59:13 +0200 Organization: Aioe.org NNTP Server Lines: 12 Message-ID: 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.9.0 X-Notice: Filtered by postfilter v. 0.9.2 X-Mozilla-News-Host: news://nntp.aioe.org:119 Content-Language: it Xref: csiph.com it.comp.java:9343 float x = (float) 23123.456; ottengo: x=23123.455 ma usa sempre i millesimi! Perchè allora non scrive 23123.456 ? Se arrotonda dovrebbe stampare solo fino ai centesimi : 23123.45 Grazie