Article View: comp.std.c++
Article #4137Rounding off a double precision variable
From: Tomas Alvier
Date: Thu, 24 Feb 2000 00:00
Date: Thu, 24 Feb 2000 00:00
12 lines
1481 bytes
1481 bytes
Is there a function for rounding of a double precision variable to a chosen number of decimals? Thanks in advance, Tomas Alvier --- [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Technical Details
Message-ID:
<C5Ns4.5456$kz6.102045@news1.online.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d22,e2bc0eb4b79bfbd0,start X-Google-Attributes: gid109d22,public X-Google-Thread: f78e5,e2bc0eb4b79bfbd0,start X-Google-Attributes: gidf78e5,public From: "Tomas Alvier" <tal@nfis.no> Subject: Rounding off a double precision variable Date: 2000/02/24 Message-ID: <C5Ns4.5456$kz6.102045@news1.online.no> X-Deja-AN: 588872126 Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++ X-Priority: 3 X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@demon.net X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au X-Trace: mail2news.demon.co.uk 951320462 mail2news:27420 mail2news mail2news.demon.co.uk Organization: Telenor Online Public Access X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) X-Msmail-Priority: Normal Nntp-Posting-Date: Wed, 23 Feb 2000 09:44:18 MET Newsgroups: comp.std.c++,dk.edb.programmering.c