nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Re: Manipolatori IO del c++

Von: HappyCactus (happycactus@people.it) [Profil]
Datum: 06.06.2008 08:52
Message-ID: <g2amqv$ld3$1@nnrp.ngi.it>
Newsgroup: it.comp.lang.c++
Gabriele Greco ha scritto:
> 1,23456   -> 1.23456 <- corretto
> 11,23456  -> 11.2345 <- SBAGLIATO
> 11,5      -> 11.5    <- corretto

Sfrutta l'effetto dell'ultima riga per arrotondare sempre al quinto
decimale.

[ Auf dieses Posting antworten ]