🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #21322

Re: float

#21322
From: Daniel Stalica
Date: Sun, 10 Jan 2010 12:30
15 lines
1215 bytes
W dniu 2010-01-09 14:21, robi pisze:
> Witam,
> Jaki może być problem z dodawaniem dwóch liczb flota x=8,1 y=0,8
> suma=8,9000001
> Dlaczego nie otrzymuje suma=8,9 ?
>
> pozdrawiam
> Robi
>

daj round z jednym miejscem po przecinku na wynik i po problemie :) 
Ewentualnie licz na liczbach całkowitych 81+8 :)

-- 
Systemy kominowe http://twojkomin.pl
Technical Details
Message-ID: <hich8r$ac7$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <hi9vt3$hv0$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Daniel Stalica <daniel@stalica.info>
Newsgroups: alt.pl.comp.lang.csharp
Subject: Re: float
Date: Sun, 10 Jan 2010 13:30:19 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 15
Message-ID: <hich8r$ac7$1@inews.gazeta.pl>
References: <hi9vt3$hv0$1@news.onet.pl>
NNTP-Posting-Host: 078088192020.oswiecim.vectranet.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1263126619 10631 78.88.192.20 (10 Jan 2010 12:30:19 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Sun, 10 Jan 2010 12:30:19 +0000 (UTC)
X-User: daniel.stalica
In-Reply-To: <hi9vt3$hv0$1@news.onet.pl>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit