🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.bazy-danych.msaccess
Article #137071

Re: Jak prawidłowo pomnożyc dwie liczby ??

#137071
From: Fantom
Date: Tue, 08 Dec 2015 19:39
24 lines
1581 bytes
Sprawdziłem.
Też zwraca mi 65,00 zamiast 66,00 :(
O co tu biega ??

Fantom


Użytkownik "LeszekN" <leszeknowak@wp.pl> napisał w wiadomości 
news:61141c54-4def-4ffe-8893-c12dbc01963d@googlegroups.com...
Witaj
ja osobiscie nie stosuje ROUND

wole
Public Function zaok(l, m) As Double
    'zaokrąglenie dla dowolnych liczb dodatnich i ujemnych
    zaok = Format(CDec(l), "0." & String(m, "0"))
End Function

i nigdy nie miałem problemów
amerykanie inaczej zaokrąglają :)


----------
Leszek 
Technical Details
Message-ID: <n47bli$72l$1@node1.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
References: <n46l28$q75$1@node2.news.atman.pl> <61141c54-4def-4ffe-8893-c12dbc01963d@googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: "Fantom" <szczukot.antyspam@poczta.onet.pl>
Newsgroups: pl.comp.bazy-danych.msaccess
Subject: Re: Jak prawidłowo pomnożyc dwie liczby ??
Date: Tue, 8 Dec 2015 20:39:22 +0100
Organization: ATMAN - ATM S.A.
Lines: 25
Message-ID: <n47bli$72l$1@node1.news.atman.pl>
References: <n46l28$q75$1@node2.news.atman.pl> <61141c54-4def-4ffe-8893-c12dbc01963d@googlegroups.com>
NNTP-Posting-Host: 125.88-199-144.vspace.pl
Mime-Version: 1.0
X-Trace: node1.news.atman.pl 1449603570 7253 88.199.144.125 (8 Dec 2015 19:39:30 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Tue, 8 Dec 2015 19:39:30 +0000 (UTC)
In-Reply-To: <61141c54-4def-4ffe-8893-c12dbc01963d@googlegroups.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18197
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit